#5E4C74 color
The hex color #5E4C74 is a dark, grayish violet.
In the RGB color model it is made of 36.9% red, 29.8% green and 45.5% blue (94, 76, 116).
Its hue angle is 267°, with 21% saturation and 38% lightness. For print, the CMYK equivalent is 19% cyan, 34% magenta, 0% yellow and 55% black.
The closest named color is Your Majesty (#61496E), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.6:1).
#5E4C74 color codes
| HEX | #5E4C74 | |
|---|---|---|
| RGB | rgb(94, 76, 116) | |
| RGB percent | rgb(36.9%, 29.8%, 45.5%) | |
| HSL | hsl(267, 21%, 38%) | |
| HSV / HSB | hsv(267, 34%, 45%) | |
| CMYK | cmyk(19%, 34%, 0%, 55%) | |
| CIE LAB | lab(35.62, 16.3, -20.11) | |
| CIE LCH | lch(35.62, 25.89, 309.03) | |
| CIE XYZ | xyz(10.352, 8.81, 17.675) | |
| Decimal | 6179956 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5E4C74, 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 #5E4C74 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.76:1 | Fail | Fail | Fail |
| Sample text | 7.6:1 | Pass | Pass | Pass |
| #5E4C74 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.6:1 | Pass | Pass | Pass |
| Sample text | 2.76: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 #5E4C74 looks to people with the most common types of color vision deficiency.
#445376Protanopia
no red cones#475473Deuteranopia
no green cones#5b525bTritanopia
no blue cones#545454Achromatopsia
no color vision
CSS examples
.background { background-color: #5e4c74; }
.text { color: #5e4c74; }
.border { border: 2px solid #5e4c74; }
.transparent { background-color: rgb(94 76 116 / 50%); }
.gradient { background: linear-gradient(to right, #5e4c74, #724c74); }
Similar colors
#61496eYour Majesty#614a7bRoyal Robe#57446aHaunted Candelabra#674876Neon Violet#604c81Sumptuous Purple#5c457bIn the Vines#5b4276Drifting Violet#5c5083Freshly Purpleized
Closest common color name: Eggplant.
Questions
- What color is #5E4C74?
- #5E4C74 is a dark, grayish violet, closest to the named color Your Majesty. It belongs to the purple family of colors.
- What is the RGB value of #5E4C74?
- The RGB value is 94, 76, 116: 94 red, 76 green and 116 blue on a 0 to 255 scale.
- What is the complementary color of #5E4C74?
- The complementary color is #62744C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5E4C74?
- White text. Black text has a contrast ratio of 2.76:1 and white text 7.6:1. WCAG asks for at least 4.5:1 for normal text.