#5A1D8C
Purple
HEX
RGB
HSL
About #5A1D8C Purple
#5A1D8C is a purple color. In the RGB color model, it is composed of 90 red, 29 green, and 140 blue. In the HSL color space, it has a hue of 273°, saturation of 66%, 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 #5A1D8C in your CSS, SCSS, or Tailwind projects.
Color Properties
273°
Hue
66%
Saturation
33%
Lightness
Purple
Color Harmonies
Colors that work well with #5A1D8C based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5A1D8C against white and black backgrounds.
Aa#5A1D8C on White
Contrast Ratio10.56:1
AA ✓AA Large ✓AAA ✓
Aa#5A1D8C on Black
Contrast Ratio1.99:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #5A1D8C across different color formats.
| Format | Value |
|---|---|
| HEX | #5A1D8C |
| RGB | rgb(90, 29, 140) |
| HSL | hsl(273, 66%, 33%) |
| RGB Decimal | 90, 29, 140 |
| RGB Percent | 35.3%, 11.4%, 54.9% |
| CMYK (approx.) | 36%, 79%, 0%, 45% |
Related Palettes
12 palettes using #5A1D8C or similar colors