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