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