#52188B
Purple
HEX
RGB
HSL
About #52188B Purple
#52188B is a purple color. In the RGB color model, it is composed of 82 red, 24 green, and 139 blue. In the HSL color space, it has a hue of 270°, saturation of 71%, and lightness of 32%.
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 #52188B in your CSS, SCSS, or Tailwind projects.
Color Properties
270°
Hue
71%
Saturation
32%
Lightness
Purple
Color Harmonies
Colors that work well with #52188B based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #52188B against white and black backgrounds.
Aa#52188B on White
Contrast Ratio11.28:1
AA ✓AA Large ✓AAA ✓
Aa#52188B on Black
Contrast Ratio1.86:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #52188B across different color formats.
| Format | Value |
|---|---|
| HEX | #52188B |
| RGB | rgb(82, 24, 139) |
| HSL | hsl(270, 71%, 32%) |
| RGB Decimal | 82, 24, 139 |
| RGB Percent | 32.2%, 9.4%, 54.5% |
| CMYK (approx.) | 41%, 83%, 0%, 45% |
Related Palettes
12 palettes using #52188B or similar colors