#5A4F5F
Dark Gray
HEX
RGB
HSL
About #5A4F5F Dark Gray
#5A4F5F is a dark gray color. In the RGB color model, it is composed of 90 red, 79 green, and 95 blue. In the HSL color space, it has a hue of 281°, saturation of 9%, and lightness of 34%.
This color has a low lightness value, making it a dark color great for text and bold accents. With low saturation, it appears muted and subtle.
CSS Code
Use #5A4F5F in your CSS, SCSS, or Tailwind projects.
Color Properties
281°
Hue
9%
Saturation
34%
Lightness
Dark Gray
Color Harmonies
Colors that work well with #5A4F5F based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5A4F5F against white and black backgrounds.
Aa#5A4F5F on White
Contrast Ratio7.73:1
AA ✓AA Large ✓AAA ✓
Aa#5A4F5F on Black
Contrast Ratio2.72:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #5A4F5F across different color formats.
| Format | Value |
|---|---|
| HEX | #5A4F5F |
| RGB | rgb(90, 79, 95) |
| HSL | hsl(281, 9%, 34%) |
| RGB Decimal | 90, 79, 95 |
| RGB Percent | 35.3%, 31.0%, 37.3% |
| CMYK (approx.) | 5%, 17%, 0%, 63% |
Related Palettes
12 palettes using #5A4F5F or similar colors