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