#5C1752 color
The hex color #5C1752 is a dark, moderate magenta.
In the RGB color model it is made of 36.1% red, 9% green and 32.2% blue (92, 23, 82).
Its hue angle is 309°, with 60% saturation and 23% lightness. For print, the CMYK equivalent is 0% cyan, 75% magenta, 11% yellow and 64% black.
The closest named color is Purple Velour (#581A57), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.36:1).
#5C1752 color codes
| HEX | #5C1752 | |
|---|---|---|
| RGB | rgb(92, 23, 82) | |
| RGB percent | rgb(36.1%, 9%, 32.2%) | |
| HSL | hsl(309, 60%, 23%) | |
| HSV / HSB | hsv(309, 75%, 36%) | |
| CMYK | cmyk(0%, 75%, 11%, 64%) | |
| CIE LAB | lab(21.94, 38.22, -19.49) | |
| CIE LCH | lch(21.94, 42.9, 332.98) | |
| CIE XYZ | xyz(6.243, 3.498, 8.327) | |
| Decimal | 6035282 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5C1752, 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 #5C1752 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.7:1 | Fail | Fail | Fail |
| Sample text | 12.36:1 | Pass | Pass | Pass |
| #5C1752 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.36:1 | Pass | Pass | Pass |
| Sample text | 1.7: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 #5C1752 looks to people with the most common types of color vision deficiency.
#162e54Protanopia
no red cones#2e3850Deuteranopia
no green cones#611d32Tritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #5c1752; }
.text { color: #5c1752; }
.border { border: 2px solid #5c1752; }
.transparent { background-color: rgb(92 23 82 / 50%); }
.gradient { background: linear-gradient(to right, #5c1752, #5c1730); }
Similar colors
#581a57Purple Velour#551155Cosmic Explorer#550055Cloak and Dagger#6b295aPretty in Prune#441144Velvet Cosmos#702963Byzantium#750851Velvet#4f284bMurasaki
Questions
- What color is #5C1752?
- #5C1752 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 #5C1752?
- The RGB value is 92, 23, 82: 92 red, 23 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #5C1752?
- The complementary color is #175C21, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5C1752?
- White text. Black text has a contrast ratio of 1.7:1 and white text 12.36:1. WCAG asks for at least 4.5:1 for normal text.