#5E4478 color
The hex color #5E4478 is a dark, desaturated violet.
In the RGB color model it is made of 36.9% red, 26.7% green and 47.1% blue (94, 68, 120).
Its hue angle is 270°, with 28% saturation and 37% lightness. For print, the CMYK equivalent is 22% cyan, 43% magenta, 0% yellow and 53% black.
The closest named color is Drifting Violet (#5B4276), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.16:1).
#5E4478 color codes
| HEX | #5E4478 | |
|---|---|---|
| RGB | rgb(94, 68, 120) | |
| RGB percent | rgb(36.9%, 26.7%, 47.1%) | |
| HSL | hsl(270, 28%, 37%) | |
| HSV / HSB | hsv(270, 43%, 47%) | |
| CMYK | cmyk(22%, 43%, 0%, 53%) | |
| CIE LAB | lab(33.71, 22.34, -25.57) | |
| CIE LCH | lch(33.71, 33.96, 311.15) | |
| CIE XYZ | xyz(10.073, 7.87, 18.754) | |
| Decimal | 6177912 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5E4478, 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 #5E4478 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.57:1 | Fail | Fail | Fail |
| Sample text | 8.16:1 | Pass | Pass | Pass |
| #5E4478 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.16:1 | Pass | Pass | Pass |
| Sample text | 2.57: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 #5E4478 looks to people with the most common types of color vision deficiency.
#384e7aProtanopia
no red cones#3e4f77Deuteranopia
no green cones#5a4c58Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #5e4478; }
.text { color: #5e4478; }
.border { border: 2px solid #5e4478; }
.transparent { background-color: rgb(94 68 120 / 50%); }
.gradient { background: linear-gradient(to right, #5e4478, #784478); }
Similar colors
#5b4276Drifting Violet#5c457bIn the Vines#614a7bRoyal Robe#604c81Sumptuous Purple#674876Neon Violet#623b70Heartless#664488Lords of the Night#57446aHaunted Candelabra
Closest common color name: Dark Slate Blue.
Questions
- What color is #5E4478?
- #5E4478 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 #5E4478?
- The RGB value is 94, 68, 120: 94 red, 68 green and 120 blue on a 0 to 255 scale.
- What is the complementary color of #5E4478?
- The complementary color is #5E7844, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5E4478?
- White text. Black text has a contrast ratio of 2.57:1 and white text 8.16:1. WCAG asks for at least 4.5:1 for normal text.