#5B1952 color
The hex color #5B1952 is a dark, moderate magenta.
In the RGB color model it is made of 35.7% red, 9.8% green and 32.2% blue (91, 25, 82).
Its hue angle is 308°, with 57% saturation and 23% lightness. For print, the CMYK equivalent is 0% cyan, 73% magenta, 10% yellow and 64% black.
The closest named color is Purple Velour (#581A57), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.31:1).
#5B1952 color codes
| HEX | #5B1952 | |
|---|---|---|
| RGB | rgb(91, 25, 82) | |
| RGB percent | rgb(35.7%, 9.8%, 32.2%) | |
| HSL | hsl(308, 57%, 23%) | |
| HSV / HSB | hsv(308, 73%, 36%) | |
| CMYK | cmyk(0%, 73%, 10%, 64%) | |
| CIE LAB | lab(22.05, 37.11, -19.32) | |
| CIE LCH | lch(22.05, 41.84, 332.49) | |
| CIE XYZ | xyz(6.185, 3.529, 8.336) | |
| Decimal | 5970258 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B1952, 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 #5B1952 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.71:1 | Fail | Fail | Fail |
| Sample text | 12.31:1 | Pass | Pass | Pass |
| #5B1952 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.31:1 | Pass | Pass | Pass |
| Sample text | 1.71: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 #5B1952 looks to people with the most common types of color vision deficiency.
#182f54Protanopia
no red cones#2e3850Deuteranopia
no green cones#5f1e33Tritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #5b1952; }
.text { color: #5b1952; }
.border { border: 2px solid #5b1952; }
.transparent { background-color: rgb(91 25 82 / 50%); }
.gradient { background: linear-gradient(to right, #5b1952, #5b1931); }
Similar colors
#581a57Purple Velour#551155Cosmic Explorer#550055Cloak and Dagger#6b295aPretty in Prune#441144Velvet Cosmos#702963Byzantium#4f284bMurasaki#4a2559Wonka Purple
Questions
- What color is #5B1952?
- #5B1952 is a dark, moderate magenta, closest to the named color Purple Velour. It belongs to the purple family of colors.
- What is the RGB value of #5B1952?
- The RGB value is 91, 25, 82: 91 red, 25 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #5B1952?
- The complementary color is #195B22, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B1952?
- White text. Black text has a contrast ratio of 1.71:1 and white text 12.31:1. WCAG asks for at least 4.5:1 for normal text.