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