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