#5A28CC
Purple
HEX
RGB
HSL
About #5A28CC Purple
#5A28CC is a purple color. In the RGB color model, it is composed of 90 red, 40 green, and 204 blue. In the HSL color space, it has a hue of 258°, saturation of 67%, and lightness of 48%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #5A28CC in your CSS, SCSS, or Tailwind projects.
Color Properties
258°
Hue
67%
Saturation
48%
Lightness
Purple
Color Harmonies
Colors that work well with #5A28CC based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5A28CC against white and black backgrounds.
Aa#5A28CC on White
Contrast Ratio8.05:1
AA ✓AA Large ✓AAA ✓
Aa#5A28CC on Black
Contrast Ratio2.61:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #5A28CC across different color formats.
| Format | Value |
|---|---|
| HEX | #5A28CC |
| RGB | rgb(90, 40, 204) |
| HSL | hsl(258, 67%, 48%) |
| RGB Decimal | 90, 40, 204 |
| RGB Percent | 35.3%, 15.7%, 80.0% |
| CMYK (approx.) | 56%, 80%, 0%, 20% |
Related Palettes
12 palettes using #5A28CC or similar colors