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