#5B3D66 color
The hex color #5B3D66 is a dark, desaturated magenta.
In the RGB color model it is made of 35.7% red, 23.9% green and 40% blue (91, 61, 102).
Its hue angle is 284°, with 25% saturation and 32% lightness. For print, the CMYK equivalent is 11% cyan, 40% magenta, 0% yellow and 60% black.
The closest named color is Long Passionate Night (#5B365E), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.11:1).
#5B3D66 color codes
| HEX | #5B3D66 | |
|---|---|---|
| RGB | rgb(91, 61, 102) | |
| RGB percent | rgb(35.7%, 23.9%, 40%) | |
| HSL | hsl(284, 25%, 32%) | |
| HSV / HSB | hsv(284, 40%, 40%) | |
| CMYK | cmyk(11%, 40%, 0%, 60%) | |
| CIE LAB | lab(30.69, 21.29, -18.94) | |
| CIE LCH | lch(30.69, 28.5, 318.34) | |
| CIE XYZ | xyz(8.381, 6.521, 13.385) | |
| Decimal | 5979494 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B3D66, 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 #5B3D66 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.3:1 | Fail | Fail | Fail |
| Sample text | 9.11:1 | Pass | Pass | Pass |
| #5B3D66 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.11:1 | Pass | Pass | Pass |
| Sample text | 2.3: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 #5B3D66 looks to people with the most common types of color vision deficiency.
#374668Protanopia
no red cones#3e4965Deuteranopia
no green cones#5b424cTritanopia
no blue cones#484848Achromatopsia
no color vision
CSS examples
.background { background-color: #5b3d66; }
.text { color: #5b3d66; }
.border { border: 2px solid #5b3d66; }
.transparent { background-color: rgb(91 61 102 / 50%); }
.gradient { background: linear-gradient(to right, #5b3d66, #663d5d); }
Similar colors
#5b365eLong Passionate Night#653b66Wine Tour#673e6eMajesty#623b70Heartless#57446aHaunted Candelabra#593569Purple Protégé#4f325eRoyal Crown#61496eYour Majesty
Closest common color name: Byzantium.
Questions
- What color is #5B3D66?
- #5B3D66 is a dark, desaturated magenta, closest to the named color Long Passionate Night. It belongs to the purple family of colors.
- What is the RGB value of #5B3D66?
- The RGB value is 91, 61, 102: 91 red, 61 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #5B3D66?
- The complementary color is #48663D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B3D66?
- White text. Black text has a contrast ratio of 2.3:1 and white text 9.11:1. WCAG asks for at least 4.5:1 for normal text.