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