#502DB9
Purple
HEX
RGB
HSL
About #502DB9 Purple
#502DB9 is a purple color. In the RGB color model, it is composed of 80 red, 45 green, and 185 blue. In the HSL color space, it has a hue of 255°, saturation of 61%, and lightness of 45%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #502DB9 in your CSS, SCSS, or Tailwind projects.
Color Properties
255°
Hue
61%
Saturation
45%
Lightness
Purple
Color Harmonies
Colors that work well with #502DB9 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #502DB9 against white and black backgrounds.
Aa#502DB9 on White
Contrast Ratio8.69:1
AA ✓AA Large ✓AAA ✓
Aa#502DB9 on Black
Contrast Ratio2.42:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #502DB9 across different color formats.
| Format | Value |
|---|---|
| HEX | #502DB9 |
| RGB | rgb(80, 45, 185) |
| HSL | hsl(255, 61%, 45%) |
| RGB Decimal | 80, 45, 185 |
| RGB Percent | 31.4%, 17.6%, 72.5% |
| CMYK (approx.) | 57%, 76%, 0%, 27% |
Related Palettes
12 palettes using #502DB9 or similar colors