#5B2777
Purple
HEX
RGB
HSL
About #5B2777 Purple
#5B2777 is a purple color. In the RGB color model, it is composed of 91 red, 39 green, and 119 blue. In the HSL color space, it has a hue of 279°, saturation of 51%, 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
Use #5B2777 in your CSS, SCSS, or Tailwind projects.
Color Properties
279°
Hue
51%
Saturation
31%
Lightness
Purple
Color Harmonies
Colors that work well with #5B2777 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5B2777 against white and black backgrounds.
Aa#5B2777 on White
Contrast Ratio10.49:1
AA ✓AA Large ✓AAA ✓
Aa#5B2777 on Black
Contrast Ratio2:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #5B2777 across different color formats.
| Format | Value |
|---|---|
| HEX | #5B2777 |
| RGB | rgb(91, 39, 119) |
| HSL | hsl(279, 51%, 31%) |
| RGB Decimal | 91, 39, 119 |
| RGB Percent | 35.7%, 15.3%, 46.7% |
| CMYK (approx.) | 24%, 67%, 0%, 53% |
Related Palettes
12 palettes using #5B2777 or similar colors