#5D4860 color
The hex color #5D4860 is a dark, grayish magenta.
In the RGB color model it is made of 36.5% red, 28.2% green and 37.6% blue (93, 72, 96).
Its hue angle is 293°, with 14% saturation and 33% lightness. For print, the CMYK equivalent is 3% cyan, 25% magenta, 0% yellow and 62% black.
The closest named color is Nightly Walk (#544563), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.2:1).
#5D4860 color codes
| HEX | #5D4860 | |
|---|---|---|
| RGB | rgb(93, 72, 96) | |
| RGB percent | rgb(36.5%, 28.2%, 37.6%) | |
| HSL | hsl(293, 14%, 33%) | |
| HSV / HSB | hsv(293, 25%, 38%) | |
| CMYK | cmyk(3%, 25%, 0%, 62%) | |
| CIE LAB | lab(33.58, 13.72, -10.68) | |
| CIE LCH | lch(33.58, 17.38, 322.11) | |
| CIE XYZ | xyz(8.943, 7.807, 12.1) | |
| Decimal | 6113376 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5D4860, 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 #5D4860 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.56:1 | Fail | Fail | Fail |
| Sample text | 8.2:1 | Pass | Pass | Pass |
| #5D4860 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.2:1 | Pass | Pass | Pass |
| Sample text | 2.56: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 #5D4860 looks to people with the most common types of color vision deficiency.
#464d61Protanopia
no red cones#4a505fDeuteranopia
no green cones#5e4a50Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #5d4860; }
.text { color: #5d4860; }
.border { border: 2px solid #5d4860; }
.transparent { background-color: rgb(93 72 96 / 50%); }
.gradient { background: linear-gradient(to right, #5d4860, #604857); }
Similar colors
#544563Nightly Walk#64435fGrape Fizz#61496eYour Majesty#654161Royal Plum#6f5166Hibernation#57446aHaunted Candelabra#614051Eggplant#4f4554Black Magic
Questions
- What color is #5D4860?
- #5D4860 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 #5D4860?
- The RGB value is 93, 72, 96: 93 red, 72 green and 96 blue on a 0 to 255 scale.
- What is the complementary color of #5D4860?
- The complementary color is #4B6048, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5D4860?
- White text. Black text has a contrast ratio of 2.56:1 and white text 8.2:1. WCAG asks for at least 4.5:1 for normal text.