#51237B
Purple
HEX
RGB
HSL
About #51237B Purple
#51237B is a purple color. In the RGB color model, it is composed of 81 red, 35 green, and 123 blue. In the HSL color space, it has a hue of 271°, saturation of 56%, and lightness of 31%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code & Gradients
Use #51237B in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
271°
Hue
56%
Saturation
31%
Lightness
Purple
Color Harmonies
Colors that work well with #51237B based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #51237B against white and black backgrounds.
Aa#51237B on White
Contrast Ratio11.19:1
AA ✓AA Large ✓AAA ✓
Aa#51237B on Black
Contrast Ratio1.88:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #51237B across different color formats.
| Format | Value |
|---|---|
| HEX | #51237B |
| RGB | rgb(81, 35, 123) |
| HSL | hsl(271, 56%, 31%) |
| RGB Decimal | 81, 35, 123 |
| RGB Percent | 31.8%, 13.7%, 48.2% |
| CMYK (approx.) | 34%, 72%, 0%, 52% |
Related Palettes
12 palettes using #51237B or similar colors