#5E3566 color
The hex color #5E3566 is a dark, desaturated magenta.
In the RGB color model it is made of 36.9% red, 20.8% green and 40% blue (94, 53, 102).
Its hue angle is 290°, with 32% saturation and 30% lightness. For print, the CMYK equivalent is 8% cyan, 48% magenta, 0% yellow and 60% black.
The closest named color is Imperial Purple (#5B3167), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.65:1).
#5E3566 color codes
| HEX | #5E3566 | |
|---|---|---|
| RGB | rgb(94, 53, 102) | |
| RGB percent | rgb(36.9%, 20.8%, 40%) | |
| HSL | hsl(290, 32%, 30%) | |
| HSV / HSB | hsv(290, 48%, 40%) | |
| CMYK | cmyk(8%, 48%, 0%, 60%) | |
| CIE LAB | lab(29.12, 27.22, -21.36) | |
| CIE LCH | lch(29.12, 34.6, 321.89) | |
| CIE XYZ | xyz(8.287, 5.886, 13.267) | |
| Decimal | 6174054 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5E3566, 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 #5E3566 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.18:1 | Fail | Fail | Fail |
| Sample text | 9.65:1 | Pass | Pass | Pass |
| #5E3566 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.65:1 | Pass | Pass | Pass |
| Sample text | 2.18: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 #5E3566 looks to people with the most common types of color vision deficiency.
#2e4268Protanopia
no red cones#394665Deuteranopia
no green cones#5f3b48Tritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #5e3566; }
.text { color: #5e3566; }
.border { border: 2px solid #5e3566; }
.transparent { background-color: rgb(94 53 102 / 50%); }
.gradient { background: linear-gradient(to right, #5e3566, #663556); }
Similar colors
#5b3167Imperial Purple#593569Purple Protégé#663366Wineberry#623b70Heartless#5b365eLong Passionate Night#602f6bByzantine Robe#653b66Wine Tour#673e6eMajesty
Closest common color name: Byzantium.
Questions
- What color is #5E3566?
- #5E3566 is a dark, desaturated magenta, closest to the named color Imperial Purple. It belongs to the purple family of colors.
- What is the RGB value of #5E3566?
- The RGB value is 94, 53, 102: 94 red, 53 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #5E3566?
- The complementary color is #3D6635, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5E3566?
- White text. Black text has a contrast ratio of 2.18:1 and white text 9.65:1. WCAG asks for at least 4.5:1 for normal text.