#5E4972 color
The hex color #5E4972 is a dark, grayish violet.
In the RGB color model it is made of 36.9% red, 28.6% green and 44.7% blue (94, 73, 114).
Its hue angle is 271°, with 22% saturation and 37% lightness. For print, the CMYK equivalent is 18% cyan, 36% magenta, 0% yellow and 55% black.
The closest named color is Your Majesty (#61496E), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.86:1).
#5E4972 color codes
| HEX | #5E4972 | |
|---|---|---|
| RGB | rgb(94, 73, 114) | |
| RGB percent | rgb(36.9%, 28.6%, 44.7%) | |
| HSL | hsl(271, 22%, 37%) | |
| HSV / HSB | hsv(271, 36%, 45%) | |
| CMYK | cmyk(18%, 36%, 0%, 55%) | |
| CIE LAB | lab(34.72, 17.69, -20.25) | |
| CIE LCH | lch(34.72, 26.89, 311.15) | |
| CIE XYZ | xyz(10.035, 8.36, 17.001) | |
| Decimal | 6179186 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5E4972, 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 #5E4972 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.67:1 | Fail | Fail | Fail |
| Sample text | 7.86:1 | Pass | Pass | Pass |
| #5E4972 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.86:1 | Pass | Pass | Pass |
| Sample text | 2.67: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 #5E4972 looks to people with the most common types of color vision deficiency.
#415174Protanopia
no red cones#455271Deuteranopia
no green cones#5b4f58Tritanopia
no blue cones#525252Achromatopsia
no color vision
CSS examples
.background { background-color: #5e4972; }
.text { color: #5e4972; }
.border { border: 2px solid #5e4972; }
.transparent { background-color: rgb(94 73 114 / 50%); }
.gradient { background: linear-gradient(to right, #5e4972, #724972); }
Similar colors
#61496eYour Majesty#57446aHaunted Candelabra#614a7bRoyal Robe#674876Neon Violet#5b4276Drifting Violet#5c457bIn the Vines#604c81Sumptuous Purple#544563Nightly Walk
Closest common color name: Eggplant.
Questions
- What color is #5E4972?
- #5E4972 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 #5E4972?
- The RGB value is 94, 73, 114: 94 red, 73 green and 114 blue on a 0 to 255 scale.
- What is the complementary color of #5E4972?
- The complementary color is #5D7249, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5E4972?
- White text. Black text has a contrast ratio of 2.67:1 and white text 7.86:1. WCAG asks for at least 4.5:1 for normal text.