#5A495F color
The hex color #5A495F is a dark, grayish magenta.
In the RGB color model it is made of 35.3% red, 28.6% green and 37.3% blue (90, 73, 95).
Its hue angle is 286°, with 13% saturation and 33% lightness. For print, the CMYK equivalent is 5% cyan, 23% magenta, 0% yellow and 63% black.
The closest named color is Nightly Walk (#544563), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.23:1).
#5A495F color codes
| HEX | #5A495F | |
|---|---|---|
| RGB | rgb(90, 73, 95) | |
| RGB percent | rgb(35.3%, 28.6%, 37.3%) | |
| HSL | hsl(286, 13%, 33%) | |
| HSV / HSB | hsv(286, 23%, 37%) | |
| CMYK | cmyk(5%, 23%, 0%, 63%) | |
| CIE LAB | lab(33.49, 11.71, -10.21) | |
| CIE LCH | lch(33.49, 15.54, 318.93) | |
| CIE XYZ | xyz(8.664, 7.765, 11.867) | |
| Decimal | 5917023 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A495F, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #5A495F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.55:1 | Fail | Fail | Fail |
| Sample text | 8.23:1 | Pass | Pass | Pass |
| #5A495F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.23:1 | Pass | Pass | Pass |
| Sample text | 2.55:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #5A495F looks to people with the most common types of color vision deficiency.
#474e60Protanopia
no red cones#4a4f5eDeuteranopia
no green cones#5a4b51Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #5a495f; }
.text { color: #5a495f; }
.border { border: 2px solid #5a495f; }
.transparent { background-color: rgb(90 73 95 / 50%); }
.gradient { background: linear-gradient(to right, #5a495f, #5f4959); }
Similar colors
#544563Nightly Walk#4f4554Black Magic#64435fGrape Fizz#625665Fedora#61496eYour Majesty#57446aHaunted Candelabra#565266Freefall#6f5166Hibernation
Closest common color name: Eggplant.
Questions
- What color is #5A495F?
- #5A495F is a dark, grayish magenta, closest to the named color Nightly Walk. It belongs to the purple family of colors.
- What is the RGB value of #5A495F?
- The RGB value is 90, 73, 95: 90 red, 73 green and 95 blue on a 0 to 255 scale.
- What is the complementary color of #5A495F?
- The complementary color is #4E5F49, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A495F?
- White text. Black text has a contrast ratio of 2.55:1 and white text 8.23:1. WCAG asks for at least 4.5:1 for normal text.