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