#5B4770 color
The hex color #5B4770 is a dark, grayish violet.
In the RGB color model it is made of 35.7% red, 27.8% green and 43.9% blue (91, 71, 112).
Its hue angle is 269°, with 22% saturation and 36% lightness. For print, the CMYK equivalent is 19% cyan, 37% magenta, 0% yellow and 56% black.
The closest named color is Haunted Candelabra (#57446A), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.14:1).
#5B4770 color codes
| HEX | #5B4770 | |
|---|---|---|
| RGB | rgb(91, 71, 112) | |
| RGB percent | rgb(35.7%, 27.8%, 43.9%) | |
| HSL | hsl(269, 22%, 36%) | |
| HSV / HSB | hsv(269, 37%, 44%) | |
| CMYK | cmyk(19%, 37%, 0%, 56%) | |
| CIE LAB | lab(33.77, 17.43, -20.49) | |
| CIE LCH | lch(33.77, 26.9, 310.38) | |
| CIE XYZ | xyz(9.492, 7.901, 16.351) | |
| Decimal | 5982064 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B4770, 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 #5B4770 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.58:1 | Fail | Fail | Fail |
| Sample text | 8.14:1 | Pass | Pass | Pass |
| #5B4770 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.14:1 | Pass | Pass | Pass |
| Sample text | 2.58: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 #5B4770 looks to people with the most common types of color vision deficiency.
#3f4f72Protanopia
no red cones#43506fDeuteranopia
no green cones#584d56Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #5b4770; }
.text { color: #5b4770; }
.border { border: 2px solid #5b4770; }
.transparent { background-color: rgb(91 71 112 / 50%); }
.gradient { background: linear-gradient(to right, #5b4770, #6f4770); }
Similar colors
#57446aHaunted Candelabra#61496eYour Majesty#614a7bRoyal Robe#5b4276Drifting Violet#674876Neon Violet#5c457bIn the Vines#544563Nightly Walk#604c81Sumptuous Purple
Closest common color name: Eggplant.
Questions
- What color is #5B4770?
- #5B4770 is a dark, grayish violet, closest to the named color Haunted Candelabra. It belongs to the purple family of colors.
- What is the RGB value of #5B4770?
- The RGB value is 91, 71, 112: 91 red, 71 green and 112 blue on a 0 to 255 scale.
- What is the complementary color of #5B4770?
- The complementary color is #5C7047, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B4770?
- White text. Black text has a contrast ratio of 2.58:1 and white text 8.14:1. WCAG asks for at least 4.5:1 for normal text.