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