#512EA0
Purple
HEX
RGB
HSL
About #512EA0 Purple
#512EA0 is a purple color. In the RGB color model, it is composed of 81 red, 46 green, and 160 blue. In the HSL color space, it has a hue of 258°, saturation of 55%, and lightness of 40%.
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 & Gradients
Use #512EA0 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
258°
Hue
55%
Saturation
40%
Lightness
Purple
Color Harmonies
Colors that work well with #512EA0 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #512EA0 against white and black backgrounds.
Aa#512EA0 on White
Contrast Ratio9.34:1
AA ✓AA Large ✓AAA ✓
Aa#512EA0 on Black
Contrast Ratio2.25:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #512EA0 across different color formats.
| Format | Value |
|---|---|
| HEX | #512EA0 |
| RGB | rgb(81, 46, 160) |
| HSL | hsl(258, 55%, 40%) |
| RGB Decimal | 81, 46, 160 |
| RGB Percent | 31.8%, 18.0%, 62.7% |
| CMYK (approx.) | 49%, 71%, 0%, 37% |
Related Palettes
12 palettes using #512EA0 or similar colors