#5E2857 color
The hex color #5E2857 is a dark, desaturated magenta.
In the RGB color model it is made of 36.9% red, 15.7% green and 34.1% blue (94, 40, 87).
Its hue angle is 308°, with 40% saturation and 26% lightness. For print, the CMYK equivalent is 0% cyan, 57% magenta, 7% yellow and 63% black.
The closest named color is Pretty in Prune (#6B295A), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.95:1).
#5E2857 color codes
| HEX | #5E2857 | |
|---|---|---|
| RGB | rgb(94, 40, 87) | |
| RGB percent | rgb(36.9%, 15.7%, 34.1%) | |
| HSL | hsl(308, 40%, 26%) | |
| HSV / HSB | hsv(308, 57%, 37%) | |
| CMYK | cmyk(0%, 57%, 7%, 63%) | |
| CIE LAB | lab(25.52, 31.56, -17.2) | |
| CIE LCH | lch(25.52, 35.94, 331.41) | |
| CIE XYZ | xyz(7.095, 4.586, 9.526) | |
| Decimal | 6170711 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5E2857, 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 #5E2857 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.92:1 | Fail | Fail | Fail |
| Sample text | 10.95:1 | Pass | Pass | Pass |
| #5E2857 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.95:1 | Pass | Pass | Pass |
| Sample text | 1.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 #5E2857 looks to people with the most common types of color vision deficiency.
#273859Protanopia
no red cones#373f55Deuteranopia
no green cones#622c3bTritanopia
no blue cones#3c3c3cAchromatopsia
no color vision
CSS examples
.background { background-color: #5e2857; }
.text { color: #5e2857; }
.border { border: 2px solid #5e2857; }
.transparent { background-color: rgb(94 40 87 / 50%); }
.gradient { background: linear-gradient(to right, #5e2857, #5e283c); }
Similar colors
#6b295aPretty in Prune#673362Opulent Purple#663366Wineberry#581a57Purple Velour#702963Byzantium#4f284bMurasaki#5b365eLong Passionate Night#543254Purple Prose
Questions
- What color is #5E2857?
- #5E2857 is a dark, desaturated magenta, closest to the named color Pretty in Prune. It belongs to the purple family of colors.
- What is the RGB value of #5E2857?
- The RGB value is 94, 40, 87: 94 red, 40 green and 87 blue on a 0 to 255 scale.
- What is the complementary color of #5E2857?
- The complementary color is #285E2F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5E2857?
- White text. Black text has a contrast ratio of 1.92:1 and white text 10.95:1. WCAG asks for at least 4.5:1 for normal text.