#512E94
Purple
HEX
RGB
HSL
About #512E94 Purple
#512E94 is a purple color. In the RGB color model, it is composed of 81 red, 46 green, and 148 blue. In the HSL color space, it has a hue of 261°, saturation of 53%, and lightness of 38%.
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 #512E94 in your CSS, SCSS, or Tailwind projects.
Color Properties
261°
Hue
53%
Saturation
38%
Lightness
Purple
Color Harmonies
Colors that work well with #512E94 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #512E94 against white and black backgrounds.
Aa#512E94 on White
Contrast Ratio9.69:1
AA ✓AA Large ✓AAA ✓
Aa#512E94 on Black
Contrast Ratio2.17:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #512E94 across different color formats.
| Format | Value |
|---|---|
| HEX | #512E94 |
| RGB | rgb(81, 46, 148) |
| HSL | hsl(261, 53%, 38%) |
| RGB Decimal | 81, 46, 148 |
| RGB Percent | 31.8%, 18.0%, 58.0% |
| CMYK (approx.) | 45%, 69%, 0%, 42% |
Related Palettes
12 palettes using #512E94 or similar colors