#512790
Purple
HEX
RGB
HSL
About #512790 Purple
#512790 is a purple color. In the RGB color model, it is composed of 81 red, 39 green, and 144 blue. In the HSL color space, it has a hue of 264°, saturation of 57%, and lightness of 36%.
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 #512790 in your CSS, SCSS, or Tailwind projects.
Color Properties
264°
Hue
57%
Saturation
36%
Lightness
Purple
Color Harmonies
Colors that work well with #512790 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #512790 against white and black backgrounds.
Aa#512790 on White
Contrast Ratio10.28:1
AA ✓AA Large ✓AAA ✓
Aa#512790 on Black
Contrast Ratio2.04:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #512790 across different color formats.
| Format | Value |
|---|---|
| HEX | #512790 |
| RGB | rgb(81, 39, 144) |
| HSL | hsl(264, 57%, 36%) |
| RGB Decimal | 81, 39, 144 |
| RGB Percent | 31.8%, 15.3%, 56.5% |
| CMYK (approx.) | 44%, 73%, 0%, 44% |
Related Palettes
12 palettes using #512790 or similar colors