#5D2E5E color
The hex color #5D2E5E is a dark, desaturated magenta.
In the RGB color model it is made of 36.5% red, 18% green and 36.9% blue (93, 46, 94).
Its hue angle is 299°, with 34% saturation and 27% lightness. For print, the CMYK equivalent is 1% cyan, 51% magenta, 0% yellow and 63% black.
The closest named color is Wineberry (#663366), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.41:1).
#5D2E5E color codes
| HEX | #5D2E5E | |
|---|---|---|
| RGB | rgb(93, 46, 94) | |
| RGB percent | rgb(36.5%, 18%, 36.9%) | |
| HSL | hsl(299, 34%, 27%) | |
| HSV / HSB | hsv(299, 51%, 37%) | |
| CMYK | cmyk(1%, 51%, 0%, 63%) | |
| CIE LAB | lab(26.99, 29.27, -19.52) | |
| CIE LCH | lch(26.99, 35.18, 326.3) | |
| CIE XYZ | xyz(7.511, 5.09, 11.174) | |
| Decimal | 6106718 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5D2E5E, 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 #5D2E5E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.02:1 | Fail | Fail | Fail |
| Sample text | 10.41:1 | Pass | Pass | Pass |
| #5D2E5E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.41:1 | Pass | Pass | Pass |
| Sample text | 2.02: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 #5D2E5E looks to people with the most common types of color vision deficiency.
#293c60Protanopia
no red cones#37425dDeuteranopia
no green cones#5f3341Tritanopia
no blue cones#404040Achromatopsia
no color vision
CSS examples
.background { background-color: #5d2e5e; }
.text { color: #5d2e5e; }
.border { border: 2px solid #5d2e5e; }
.transparent { background-color: rgb(93 46 94 / 50%); }
.gradient { background: linear-gradient(to right, #5d2e5e, #5e2e47); }
Similar colors
#663366Wineberry#673362Opulent Purple#5b3167Imperial Purple#5b365eLong Passionate Night#602f6bByzantine Robe#593569Purple Protégé#653b66Wine Tour#543254Purple Prose
Closest common color name: Byzantium.
Questions
- What color is #5D2E5E?
- #5D2E5E is a dark, desaturated magenta, closest to the named color Wineberry. It belongs to the purple family of colors.
- What is the RGB value of #5D2E5E?
- The RGB value is 93, 46, 94: 93 red, 46 green and 94 blue on a 0 to 255 scale.
- What is the complementary color of #5D2E5E?
- The complementary color is #2F5E2E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5D2E5E?
- White text. Black text has a contrast ratio of 2.02:1 and white text 10.41:1. WCAG asks for at least 4.5:1 for normal text.