#5B3364 color
The hex color #5B3364 is a dark, desaturated magenta.
In the RGB color model it is made of 35.7% red, 20% green and 39.2% blue (91, 51, 100).
Its hue angle is 289°, with 32% saturation and 30% lightness. For print, the CMYK equivalent is 9% cyan, 49% magenta, 0% yellow and 61% black.
The closest named color is Imperial Purple (#5B3167), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.99:1).
#5B3364 color codes
| HEX | #5B3364 | |
|---|---|---|
| RGB | rgb(91, 51, 100) | |
| RGB percent | rgb(35.7%, 20%, 39.2%) | |
| HSL | hsl(289, 32%, 30%) | |
| HSV / HSB | hsv(289, 49%, 39%) | |
| CMYK | cmyk(9%, 49%, 0%, 61%) | |
| CIE LAB | lab(28.15, 26.98, -21.62) | |
| CIE LCH | lch(28.15, 34.57, 321.29) | |
| CIE XYZ | xyz(7.798, 5.512, 12.707) | |
| Decimal | 5976932 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B3364, 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 #5B3364 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.1:1 | Fail | Fail | Fail |
| Sample text | 9.99:1 | Pass | Pass | Pass |
| #5B3364 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.99:1 | Pass | Pass | Pass |
| Sample text | 2.1: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 #5B3364 looks to people with the most common types of color vision deficiency.
#2c4066Protanopia
no red cones#374463Deuteranopia
no green cones#5c3946Tritanopia
no blue cones#424242Achromatopsia
no color vision
CSS examples
.background { background-color: #5b3364; }
.text { color: #5b3364; }
.border { border: 2px solid #5b3364; }
.transparent { background-color: rgb(91 51 100 / 50%); }
.gradient { background: linear-gradient(to right, #5b3364, #643355); }
Similar colors
#5b3167Imperial Purple#593569Purple Protégé#5b365eLong Passionate Night#602f6bByzantine Robe#663366Wineberry#623b70Heartless#4f325eRoyal Crown#653b66Wine Tour
Closest common color name: Byzantium.
Questions
- What color is #5B3364?
- #5B3364 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 #5B3364?
- The RGB value is 91, 51, 100: 91 red, 51 green and 100 blue on a 0 to 255 scale.
- What is the complementary color of #5B3364?
- The complementary color is #3C6433, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B3364?
- White text. Black text has a contrast ratio of 2.1:1 and white text 9.99:1. WCAG asks for at least 4.5:1 for normal text.