#5B3E61 color
The hex color #5B3E61 is a dark, grayish magenta.
In the RGB color model it is made of 35.7% red, 24.3% green and 38% blue (91, 62, 97).
Its hue angle is 290°, with 22% saturation and 31% lightness. For print, the CMYK equivalent is 6% cyan, 36% magenta, 0% yellow and 62% black.
The closest named color is Long Passionate Night (#5B365E), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.1:1).
#5B3E61 color codes
| HEX | #5B3E61 | |
|---|---|---|
| RGB | rgb(91, 62, 97) | |
| RGB percent | rgb(35.7%, 24.3%, 38%) | |
| HSL | hsl(290, 22%, 31%) | |
| HSV / HSB | hsv(290, 36%, 38%) | |
| CMYK | cmyk(6%, 36%, 0%, 62%) | |
| CIE LAB | lab(30.72, 19.51, -15.7) | |
| CIE LCH | lch(30.72, 25.04, 321.17) | |
| CIE XYZ | xyz(8.194, 6.533, 12.136) | |
| Decimal | 5979745 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B3E61, 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 #5B3E61 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.31:1 | Fail | Fail | Fail |
| Sample text | 9.1:1 | Pass | Pass | Pass |
| #5B3E61 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.1:1 | Pass | Pass | Pass |
| Sample text | 2.31: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 #5B3E61 looks to people with the most common types of color vision deficiency.
#3a4662Protanopia
no red cones#414960Deuteranopia
no green cones#5c424bTritanopia
no blue cones#484848Achromatopsia
no color vision
CSS examples
.background { background-color: #5b3e61; }
.text { color: #5b3e61; }
.border { border: 2px solid #5b3e61; }
.transparent { background-color: rgb(91 62 97 / 50%); }
.gradient { background: linear-gradient(to right, #5b3e61, #613e55); }
Similar colors
#5b365eLong Passionate Night#654161Royal Plum#653b66Wine Tour#64435fGrape Fizz#57446aHaunted Candelabra#61496eYour Majesty#543254Purple Prose#673e6eMajesty
Closest common color name: Eggplant.
Questions
- What color is #5B3E61?
- #5B3E61 is a dark, grayish magenta, closest to the named color Long Passionate Night. It belongs to the purple family of colors.
- What is the RGB value of #5B3E61?
- The RGB value is 91, 62, 97: 91 red, 62 green and 97 blue on a 0 to 255 scale.
- What is the complementary color of #5B3E61?
- The complementary color is #44613E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B3E61?
- White text. Black text has a contrast ratio of 2.31:1 and white text 9.1:1. WCAG asks for at least 4.5:1 for normal text.