#5E315F color
The hex color #5E315F is a dark, desaturated magenta.
In the RGB color model it is made of 36.9% red, 19.2% green and 37.3% blue (94, 49, 95).
Its hue angle is 299°, with 32% saturation and 28% lightness. For print, the CMYK equivalent is 1% cyan, 48% magenta, 0% yellow and 63% black.
The closest named color is Wineberry (#663366), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.09:1).
#5E315F color codes
| HEX | #5E315F | |
|---|---|---|
| RGB | rgb(94, 49, 95) | |
| RGB percent | rgb(36.9%, 19.2%, 37.3%) | |
| HSL | hsl(299, 32%, 28%) | |
| HSV / HSB | hsv(299, 48%, 37%) | |
| CMYK | cmyk(1%, 48%, 0%, 63%) | |
| CIE LAB | lab(27.85, 28.07, -18.81) | |
| CIE LCH | lch(27.85, 33.79, 326.17) | |
| CIE XYZ | xyz(7.78, 5.403, 11.457) | |
| Decimal | 6173023 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5E315F, 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 #5E315F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.08:1 | Fail | Fail | Fail |
| Sample text | 10.09:1 | Pass | Pass | Pass |
| #5E315F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.09:1 | Pass | Pass | Pass |
| Sample text | 2.08: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 #5E315F looks to people with the most common types of color vision deficiency.
#2d3e61Protanopia
no red cones#39445eDeuteranopia
no green cones#603643Tritanopia
no blue cones#424242Achromatopsia
no color vision
CSS examples
.background { background-color: #5e315f; }
.text { color: #5e315f; }
.border { border: 2px solid #5e315f; }
.transparent { background-color: rgb(94 49 95 / 50%); }
.gradient { background: linear-gradient(to right, #5e315f, #5f3149); }
Similar colors
#663366Wineberry#5b365eLong Passionate Night#673362Opulent Purple#5b3167Imperial Purple#653b66Wine Tour#602f6bByzantine Robe#593569Purple Protégé#543254Purple Prose
Closest common color name: Byzantium.
Questions
- What color is #5E315F?
- #5E315F 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 #5E315F?
- The RGB value is 94, 49, 95: 94 red, 49 green and 95 blue on a 0 to 255 scale.
- What is the complementary color of #5E315F?
- The complementary color is #325F31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5E315F?
- White text. Black text has a contrast ratio of 2.08:1 and white text 10.09:1. WCAG asks for at least 4.5:1 for normal text.