#5E4071 color
The hex color #5E4071 is a dark, desaturated violet.
In the RGB color model it is made of 36.9% red, 25.1% green and 44.3% blue (94, 64, 113).
Its hue angle is 277°, with 28% saturation and 35% lightness. For print, the CMYK equivalent is 17% cyan, 43% magenta, 0% yellow and 56% black.
The closest named color is Drifting Violet (#5B4276), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.58:1).
#5E4071 color codes
| HEX | #5E4071 | |
|---|---|---|
| RGB | rgb(94, 64, 113) | |
| RGB percent | rgb(36.9%, 25.1%, 44.3%) | |
| HSL | hsl(277, 28%, 35%) | |
| HSV / HSB | hsv(277, 43%, 44%) | |
| CMYK | cmyk(17%, 43%, 0%, 56%) | |
| CIE LAB | lab(32.34, 23.08, -23.32) | |
| CIE LCH | lch(32.34, 32.81, 314.71) | |
| CIE XYZ | xyz(9.43, 7.239, 16.52) | |
| Decimal | 6176881 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5E4071, 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 #5E4071 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.45:1 | Fail | Fail | Fail |
| Sample text | 8.58:1 | Pass | Pass | Pass |
| #5E4071 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.58:1 | Pass | Pass | Pass |
| Sample text | 2.45: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 #5E4071 looks to people with the most common types of color vision deficiency.
#364b73Protanopia
no red cones#3e4d70Deuteranopia
no green cones#5c4753Tritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #5e4071; }
.text { color: #5e4071; }
.border { border: 2px solid #5e4071; }
.transparent { background-color: rgb(94 64 113 / 50%); }
.gradient { background: linear-gradient(to right, #5e4071, #71406b); }
Similar colors
#5b4276Drifting Violet#623b70Heartless#674876Neon Violet#5c457bIn the Vines#673e6eMajesty#593569Purple Protégé#614a7bRoyal Robe#57446aHaunted Candelabra
Closest common color name: Byzantium.
Questions
- What color is #5E4071?
- #5E4071 is a dark, desaturated violet, closest to the named color Drifting Violet. It belongs to the purple family of colors.
- What is the RGB value of #5E4071?
- The RGB value is 94, 64, 113: 94 red, 64 green and 113 blue on a 0 to 255 scale.
- What is the complementary color of #5E4071?
- The complementary color is #537140, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5E4071?
- White text. Black text has a contrast ratio of 2.45:1 and white text 8.58:1. WCAG asks for at least 4.5:1 for normal text.