#5A4660 color
The hex color #5A4660 is a dark, grayish magenta.
In the RGB color model it is made of 35.3% red, 27.5% green and 37.6% blue (90, 70, 96).
Its hue angle is 286°, with 16% saturation and 33% lightness. For print, the CMYK equivalent is 6% cyan, 27% magenta, 0% yellow and 62% black.
The closest named color is Nightly Walk (#544563), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.47:1).
#5A4660 color codes
| HEX | #5A4660 | |
|---|---|---|
| RGB | rgb(90, 70, 96) | |
| RGB percent | rgb(35.3%, 27.5%, 37.6%) | |
| HSL | hsl(286, 16%, 33%) | |
| HSV / HSB | hsv(286, 27%, 38%) | |
| CMYK | cmyk(6%, 27%, 0%, 62%) | |
| CIE LAB | lab(32.7, 13.85, -12.04) | |
| CIE LCH | lch(32.7, 18.35, 318.98) | |
| CIE XYZ | xyz(8.518, 7.399, 12.043) | |
| Decimal | 5916256 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A4660, 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 #5A4660 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.48:1 | Fail | Fail | Fail |
| Sample text | 8.47:1 | Pass | Pass | Pass |
| #5A4660 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.47:1 | Pass | Pass | Pass |
| Sample text | 2.48: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 #5A4660 looks to people with the most common types of color vision deficiency.
#434c61Protanopia
no red cones#474e5fDeuteranopia
no green cones#5a494fTritanopia
no blue cones#4d4d4dAchromatopsia
no color vision
CSS examples
.background { background-color: #5a4660; }
.text { color: #5a4660; }
.border { border: 2px solid #5a4660; }
.transparent { background-color: rgb(90 70 96 / 50%); }
.gradient { background: linear-gradient(to right, #5a4660, #604659); }
Similar colors
#544563Nightly Walk#61496eYour Majesty#64435fGrape Fizz#57446aHaunted Candelabra#654161Royal Plum#4f4554Black Magic#6f5166Hibernation#614051Eggplant
Questions
- What color is #5A4660?
- #5A4660 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 #5A4660?
- The RGB value is 90, 70, 96: 90 red, 70 green and 96 blue on a 0 to 255 scale.
- What is the complementary color of #5A4660?
- The complementary color is #4C6046, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A4660?
- White text. Black text has a contrast ratio of 2.48:1 and white text 8.47:1. WCAG asks for at least 4.5:1 for normal text.