#5B2D62 color
The hex color #5B2D62 is a dark, desaturated magenta.
In the RGB color model it is made of 35.7% red, 17.6% green and 38.4% blue (91, 45, 98).
Its hue angle is 292°, with 37% saturation and 28% lightness. For print, the CMYK equivalent is 7% cyan, 54% magenta, 0% yellow and 62% black.
The closest named color is Imperial Purple (#5B3167), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.52:1).
#5B2D62 color codes
| HEX | #5B2D62 | |
|---|---|---|
| RGB | rgb(91, 45, 98) | |
| RGB percent | rgb(35.7%, 17.6%, 38.4%) | |
| HSL | hsl(292, 37%, 28%) | |
| HSV / HSB | hsv(292, 54%, 38%) | |
| CMYK | cmyk(7%, 54%, 0%, 62%) | |
| CIE LAB | lab(26.69, 30.06, -22.62) | |
| CIE LCH | lch(26.69, 37.61, 323.04) | |
| CIE XYZ | xyz(7.457, 4.983, 12.122) | |
| Decimal | 5975394 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B2D62, 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 #5B2D62 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2:1 | Fail | Fail | Fail |
| Sample text | 10.52:1 | Pass | Pass | Pass |
| #5B2D62 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.52:1 | Pass | Pass | Pass |
| Sample text | 2: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 #5B2D62 looks to people with the most common types of color vision deficiency.
#253c64Protanopia
no red cones#334160Deuteranopia
no green cones#5c3443Tritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #5b2d62; }
.text { color: #5b2d62; }
.border { border: 2px solid #5b2d62; }
.transparent { background-color: rgb(91 45 98 / 50%); }
.gradient { background: linear-gradient(to right, #5b2d62, #622d4e); }
Similar colors
#5b3167Imperial Purple#602f6bByzantine Robe#593569Purple Protégé#663366Wineberry#673362Opulent Purple#5b365eLong Passionate Night#4f325eRoyal Crown#552367Elegant Purple Gown
Closest common color name: Byzantium.
Questions
- What color is #5B2D62?
- #5B2D62 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 #5B2D62?
- The RGB value is 91, 45, 98: 91 red, 45 green and 98 blue on a 0 to 255 scale.
- What is the complementary color of #5B2D62?
- The complementary color is #34622D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B2D62?
- White text. Black text has a contrast ratio of 2:1 and white text 10.52:1. WCAG asks for at least 4.5:1 for normal text.