#5D175B color
The hex color #5D175B is a dark, moderate magenta.
In the RGB color model it is made of 36.5% red, 9% green and 35.7% blue (93, 23, 91).
Its hue angle is 302°, with 60% saturation and 23% lightness. For print, the CMYK equivalent is 0% cyan, 75% magenta, 2% yellow and 64% black.
The closest named color is Purple Velour (#581A57), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.08:1).
#5D175B color codes
| HEX | #5D175B | |
|---|---|---|
| RGB | rgb(93, 23, 91) | |
| RGB percent | rgb(36.5%, 9%, 35.7%) | |
| HSL | hsl(302, 60%, 23%) | |
| HSV / HSB | hsv(302, 75%, 36%) | |
| CMYK | cmyk(0%, 75%, 2%, 64%) | |
| CIE LAB | lab(22.64, 40.09, -24.38) | |
| CIE LCH | lch(22.64, 46.92, 328.7) | |
| CIE XYZ | xyz(6.709, 3.696, 10.256) | |
| Decimal | 6100827 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5D175B, 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 #5D175B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.74:1 | Fail | Fail | Fail |
| Sample text | 12.08:1 | Pass | Pass | Pass |
| #5D175B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.08:1 | Pass | Pass | Pass |
| Sample text | 1.74: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 #5D175B looks to people with the most common types of color vision deficiency.
#0e305dProtanopia
no red cones#2b3959Deuteranopia
no green cones#602137Tritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #5d175b; }
.text { color: #5d175b; }
.border { border: 2px solid #5d175b; }
.transparent { background-color: rgb(93 23 91 / 50%); }
.gradient { background: linear-gradient(to right, #5d175b, #5d1738); }
Similar colors
#581a57Purple Velour#551155Cosmic Explorer#550055Cloak and Dagger#552367Elegant Purple Gown#480656Clairvoyant#702963Byzantium#602f6bByzantine Robe#4a2559Wonka Purple
Questions
- What color is #5D175B?
- #5D175B 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 #5D175B?
- The RGB value is 93, 23, 91: 93 red, 23 green and 91 blue on a 0 to 255 scale.
- What is the complementary color of #5D175B?
- The complementary color is #175D19, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5D175B?
- White text. Black text has a contrast ratio of 1.74:1 and white text 12.08:1. WCAG asks for at least 4.5:1 for normal text.