Imperial Purple color: hex code #5B3167
Imperial Purple has the hex code #5B3167. It is a dark, desaturated magenta.
In the RGB color model it is made of 35.7% red, 19.2% green and 40.4% blue (91, 49, 103).
Its hue angle is 287°, with 36% saturation and 30% lightness. For print, the CMYK equivalent is 12% cyan, 52% magenta, 0% yellow and 60% black.
White text is the more readable choice on this background (contrast 10.1:1).
Imperial Purple (#5B3167) color codes
| HEX | #5B3167 | |
|---|---|---|
| RGB | rgb(91, 49, 103) | |
| RGB percent | rgb(35.7%, 19.2%, 40.4%) | |
| HSL | hsl(287, 36%, 30%) | |
| HSV / HSB | hsv(287, 52%, 40%) | |
| CMYK | cmyk(12%, 52%, 0%, 60%) | |
| CIE LAB | lab(27.85, 28.85, -24.03) | |
| CIE LCH | lch(27.85, 37.55, 320.21) | |
| CIE XYZ | xyz(7.861, 5.4, 13.458) | |
| Decimal | 5976423 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Imperial Purple, 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 #5B3167 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.08:1 | Fail | Fail | Fail |
| Sample text | 10.1:1 | Pass | Pass | Pass |
| #5B3167 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.1:1 | Pass | Pass | Pass |
| Sample text | 2.08: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 #5B3167 looks to people with the most common types of color vision deficiency.
#273f69Protanopia
no red cones#344365Deuteranopia
no green cones#5b3947Tritanopia
no blue cones#424242Achromatopsia
no color vision
CSS examples
.background { background-color: #5b3167; }
.text { color: #5b3167; }
.border { border: 2px solid #5b3167; }
.transparent { background-color: rgb(91 49 103 / 50%); }
.gradient { background: linear-gradient(to right, #5b3167, #673158); }
Similar colors
#593569Purple Protégé#602f6bByzantine Robe#623b70Heartless#663366Wineberry#4f325eRoyal Crown#5b365eLong Passionate Night#552367Elegant Purple Gown#673362Opulent Purple
Closest common color name: Byzantium.
See #5B3167 on its hex code page
Questions
- What color is #5B3167?
- #5B3167 is a dark, desaturated magenta known as Imperial Purple. It belongs to the purple family of colors.
- What is the RGB value of Imperial Purple?
- The RGB value is 91, 49, 103: 91 red, 49 green and 103 blue on a 0 to 255 scale.
- What is the complementary color of Imperial Purple?
- The complementary color is #3D6731, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B3167?
- White text. Black text has a contrast ratio of 2.08:1 and white text 10.1:1. WCAG asks for at least 4.5:1 for normal text.