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