#5212A1
Purple
HEX
RGB
HSL
About #5212A1 Purple
#5212A1 is a purple color. In the RGB color model, it is composed of 82 red, 18 green, and 161 blue. In the HSL color space, it has a hue of 267°, saturation of 80%, and lightness of 35%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #5212A1 in your CSS, SCSS, or Tailwind projects.
Color Properties
267°
Hue
80%
Saturation
35%
Lightness
Purple
Color Harmonies
Colors that work well with #5212A1 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5212A1 against white and black backgrounds.
Aa#5212A1 on White
Contrast Ratio10.71:1
AA ✓AA Large ✓AAA ✓
Aa#5212A1 on Black
Contrast Ratio1.96:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #5212A1 across different color formats.
| Format | Value |
|---|---|
| HEX | #5212A1 |
| RGB | rgb(82, 18, 161) |
| HSL | hsl(267, 80%, 35%) |
| RGB Decimal | 82, 18, 161 |
| RGB Percent | 32.2%, 7.1%, 63.1% |
| CMYK (approx.) | 49%, 89%, 0%, 37% |
Related Palettes
12 palettes using #5212A1 or similar colors