#5E3151 color
The hex color #5E3151 is a dark, desaturated magenta.
In the RGB color model it is made of 36.9% red, 19.2% green and 31.8% blue (94, 49, 81).
Its hue angle is 317°, with 31% saturation and 28% lightness. For print, the CMYK equivalent is 0% cyan, 48% magenta, 14% yellow and 63% black.
The closest named color is Purple Prose (#543254), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.32:1).
#5E3151 color codes
| HEX | #5E3151 | |
|---|---|---|
| RGB | rgb(94, 49, 81) | |
| RGB percent | rgb(36.9%, 19.2%, 31.8%) | |
| HSL | hsl(317, 31%, 28%) | |
| HSV / HSB | hsv(317, 48%, 37%) | |
| CMYK | cmyk(0%, 48%, 14%, 63%) | |
| CIE LAB | lab(27.22, 25.28, -10.64) | |
| CIE LCH | lch(27.22, 27.43, 337.18) | |
| CIE XYZ | xyz(7.2, 5.171, 8.402) | |
| Decimal | 6173009 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5E3151, 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 #5E3151 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.03:1 | Fail | Fail | Fail |
| Sample text | 10.32:1 | Pass | Pass | Pass |
| #5E3151 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.32:1 | Pass | Pass | Pass |
| Sample text | 2.03: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 #5E3151 looks to people with the most common types of color vision deficiency.
#333c52Protanopia
no red cones#3e4350Deuteranopia
no green cones#63323dTritanopia
no blue cones#404040Achromatopsia
no color vision
CSS examples
.background { background-color: #5e3151; }
.text { color: #5e3151; }
.border { border: 2px solid #5e3151; }
.transparent { background-color: rgb(94 49 81 / 50%); }
.gradient { background: linear-gradient(to right, #5e3151, #5e313a); }
Similar colors
#543254Purple Prose#4f284bMurasaki#5b365eLong Passionate Night#673362Opulent Purple#6b295aPretty in Prune#4e334eShadow Purple#654161Royal Plum#653b66Wine Tour
Closest common color name: Eggplant.
Questions
- What color is #5E3151?
- #5E3151 is a dark, desaturated magenta, closest to the named color Purple Prose. It belongs to the purple family of colors.
- What is the RGB value of #5E3151?
- The RGB value is 94, 49, 81: 94 red, 49 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #5E3151?
- The complementary color is #315E3E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5E3151?
- White text. Black text has a contrast ratio of 2.03:1 and white text 10.32:1. WCAG asks for at least 4.5:1 for normal text.