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