#502A6F
Purple
HEX
RGB
HSL
About #502A6F Purple
#502A6F is a purple color. In the RGB color model, it is composed of 80 red, 42 green, and 111 blue. In the HSL color space, it has a hue of 273°, saturation of 45%, and lightness of 30%.
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 #502A6F in your CSS, SCSS, or Tailwind projects.
Color Properties
273°
Hue
45%
Saturation
30%
Lightness
Purple
Color Harmonies
Colors that work well with #502A6F based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #502A6F against white and black backgrounds.
Aa#502A6F on White
Contrast Ratio11.04:1
AA ✓AA Large ✓AAA ✓
Aa#502A6F on Black
Contrast Ratio1.9:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #502A6F across different color formats.
| Format | Value |
|---|---|
| HEX | #502A6F |
| RGB | rgb(80, 42, 111) |
| HSL | hsl(273, 45%, 30%) |
| RGB Decimal | 80, 42, 111 |
| RGB Percent | 31.4%, 16.5%, 43.5% |
| CMYK (approx.) | 28%, 62%, 0%, 56% |
Related Palettes
12 palettes using #502A6F or similar colors