#5B3252 color
The hex color #5B3252 is a dark, desaturated magenta.
In the RGB color model it is made of 35.7% red, 19.6% green and 32.2% blue (91, 50, 82).
Its hue angle is 313°, with 29% saturation and 28% lightness. For print, the CMYK equivalent is 0% cyan, 45% magenta, 10% yellow and 64% black.
The closest named color is Purple Prose (#543254), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.38:1).
#5B3252 color codes
| HEX | #5B3252 | |
|---|---|---|
| RGB | rgb(91, 50, 82) | |
| RGB percent | rgb(35.7%, 19.6%, 32.2%) | |
| HSL | hsl(313, 29%, 28%) | |
| HSV / HSB | hsv(313, 45%, 36%) | |
| CMYK | cmyk(0%, 45%, 10%, 64%) | |
| CIE LAB | lab(27.06, 23.76, -11.57) | |
| CIE LCH | lch(27.06, 26.43, 334.03) | |
| CIE XYZ | xyz(6.978, 5.115, 8.601) | |
| Decimal | 5976658 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B3252, 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 #5B3252 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.02:1 | Fail | Fail | Fail |
| Sample text | 10.38:1 | Pass | Pass | Pass |
| #5B3252 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.38:1 | Pass | Pass | Pass |
| Sample text | 2.02: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 #5B3252 looks to people with the most common types of color vision deficiency.
#323c53Protanopia
no red cones#3d4251Deuteranopia
no green cones#5f343eTritanopia
no blue cones#404040Achromatopsia
no color vision
CSS examples
.background { background-color: #5b3252; }
.text { color: #5b3252; }
.border { border: 2px solid #5b3252; }
.transparent { background-color: rgb(91 50 82 / 50%); }
.gradient { background: linear-gradient(to right, #5b3252, #5b323d); }
Similar colors
#543254Purple Prose#5b365eLong Passionate Night#4f284bMurasaki#4e334eShadow Purple#673362Opulent Purple#654161Royal Plum#653b66Wine Tour#64435fGrape Fizz
Closest common color name: Eggplant.
Questions
- What color is #5B3252?
- #5B3252 is a dark, desaturated magenta, closest to the named color Purple Prose. It belongs to the purple family of colors.
- What is the RGB value of #5B3252?
- The RGB value is 91, 50, 82: 91 red, 50 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #5B3252?
- The complementary color is #325B3B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B3252?
- White text. Black text has a contrast ratio of 2.02:1 and white text 10.38:1. WCAG asks for at least 4.5:1 for normal text.