#5B3E5D color
The hex color #5B3E5D is a dark, grayish magenta.
In the RGB color model it is made of 35.7% red, 24.3% green and 36.5% blue (91, 62, 93).
Its hue angle is 296°, with 20% saturation and 30% lightness. For print, the CMYK equivalent is 2% cyan, 33% magenta, 0% yellow and 64% black.
The closest named color is Royal Plum (#654161), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.16:1).
#5B3E5D color codes
| HEX | #5B3E5D | |
|---|---|---|
| RGB | rgb(91, 62, 93) | |
| RGB percent | rgb(35.7%, 24.3%, 36.5%) | |
| HSL | hsl(296, 20%, 30%) | |
| HSV / HSB | hsv(296, 33%, 36%) | |
| CMYK | cmyk(2%, 33%, 0%, 64%) | |
| CIE LAB | lab(30.54, 18.61, -13.4) | |
| CIE LCH | lch(30.54, 22.94, 324.25) | |
| CIE XYZ | xyz(8.013, 6.46, 11.179) | |
| Decimal | 5979741 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B3E5D, 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 #5B3E5D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.29:1 | Fail | Fail | Fail |
| Sample text | 9.16:1 | Pass | Pass | Pass |
| #5B3E5D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.16:1 | Pass | Pass | Pass |
| Sample text | 2.29: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 #5B3E5D looks to people with the most common types of color vision deficiency.
#3b465eProtanopia
no red cones#42495cDeuteranopia
no green cones#5c4149Tritanopia
no blue cones#484848Achromatopsia
no color vision
CSS examples
.background { background-color: #5b3e5d; }
.text { color: #5b3e5d; }
.border { border: 2px solid #5b3e5d; }
.transparent { background-color: rgb(91 62 93 / 50%); }
.gradient { background: linear-gradient(to right, #5b3e5d, #5d3e4f); }
Similar colors
#654161Royal Plum#64435fGrape Fizz#5b365eLong Passionate Night#543254Purple Prose#653b66Wine Tour#4e334eShadow Purple#61496eYour Majesty#57446aHaunted Candelabra
Closest common color name: Eggplant.
Questions
- What color is #5B3E5D?
- #5B3E5D is a dark, grayish magenta, closest to the named color Royal Plum. It belongs to the purple family of colors.
- What is the RGB value of #5B3E5D?
- The RGB value is 91, 62, 93: 91 red, 62 green and 93 blue on a 0 to 255 scale.
- What is the complementary color of #5B3E5D?
- The complementary color is #405D3E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B3E5D?
- White text. Black text has a contrast ratio of 2.29:1 and white text 9.16:1. WCAG asks for at least 4.5:1 for normal text.