#5A5564 color
The hex color #5A5564 is a dark, grayish violet.
In the RGB color model it is made of 35.3% red, 33.3% green and 39.2% blue (90, 85, 100).
Its hue angle is 260°, with 8% saturation and 36% lightness. For print, the CMYK equivalent is 10% cyan, 15% magenta, 0% yellow and 61% black.
The closest named color is Freefall (#565266), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.2:1).
#5A5564 color codes
| HEX | #5A5564 | |
|---|---|---|
| RGB | rgb(90, 85, 100) | |
| RGB percent | rgb(35.3%, 33.3%, 39.2%) | |
| HSL | hsl(260, 8%, 36%) | |
| HSV / HSB | hsv(260, 15%, 39%) | |
| CMYK | cmyk(10%, 15%, 0%, 61%) | |
| CIE LAB | lab(37.1, 5.31, -7.91) | |
| CIE LCH | lch(37.1, 9.53, 303.86) | |
| CIE XYZ | xyz(9.765, 9.591, 13.391) | |
| Decimal | 5920100 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A5564, 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 #5A5564 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.92:1 | Fail | Fail | Fail |
| Sample text | 7.2:1 | Pass | Pass | Pass |
| #5A5564 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.2:1 | Pass | Pass | Pass |
| Sample text | 2.92: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 #5A5564 looks to people with the most common types of color vision deficiency.
#525765Protanopia
no red cones#535764Deuteranopia
no green cones#58575aTritanopia
no blue cones#575757Achromatopsia
no color vision
CSS examples
.background { background-color: #5a5564; }
.text { color: #5a5564; }
.border { border: 2px solid #5a5564; }
.transparent { background-color: rgb(90 85 100 / 50%); }
.gradient { background: linear-gradient(to right, #5a5564, #625564); }
Similar colors
#565266Freefall#605d6bSmoky#625665Fedora#525463Black Orchid#545663Blackwater#5f606eVenus Mist#555570Majestic Magic#635d63Wonder Wine
Closest common color name: Dim Gray.
Questions
- What color is #5A5564?
- #5A5564 is a dark, grayish violet, closest to the named color Freefall. It belongs to the gray family of colors.
- What is the RGB value of #5A5564?
- The RGB value is 90, 85, 100: 90 red, 85 green and 100 blue on a 0 to 255 scale.
- What is the complementary color of #5A5564?
- The complementary color is #5F6455, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A5564?
- White text. Black text has a contrast ratio of 2.92:1 and white text 7.2:1. WCAG asks for at least 4.5:1 for normal text.