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