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