#5D3E7C color
The hex color #5D3E7C is a dark, desaturated violet.
In the RGB color model it is made of 36.5% red, 24.3% green and 48.6% blue (93, 62, 124).
Its hue angle is 270°, with 33% saturation and 36% lightness. For print, the CMYK equivalent is 25% cyan, 50% magenta, 0% yellow and 51% black.
The closest named color is Drifting Violet (#5B4276), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.59:1).
#5D3E7C color codes
| HEX | #5D3E7C | |
|---|---|---|
| RGB | rgb(93, 62, 124) | |
| RGB percent | rgb(36.5%, 24.3%, 48.6%) | |
| HSL | hsl(270, 33%, 36%) | |
| HSV / HSB | hsv(270, 50%, 49%) | |
| CMYK | cmyk(25%, 50%, 0%, 51%) | |
| CIE LAB | lab(32.32, 26.77, -30.27) | |
| CIE LCH | lch(32.32, 40.41, 311.5) | |
| CIE XYZ | xyz(9.874, 7.228, 19.94) | |
| Decimal | 6110844 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5D3E7C, 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 #5D3E7C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.45:1 | Fail | Fail | Fail |
| Sample text | 8.59:1 | Pass | Pass | Pass |
| #5D3E7C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.59:1 | Pass | Pass | Pass |
| Sample text | 2.45: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 #5D3E7C looks to people with the most common types of color vision deficiency.
#2d4b7eProtanopia
no red cones#354c7aDeuteranopia
no green cones#584957Tritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #5d3e7c; }
.text { color: #5d3e7c; }
.border { border: 2px solid #5d3e7c; }
.transparent { background-color: rgb(93 62 124 / 50%); }
.gradient { background: linear-gradient(to right, #5d3e7c, #7c3e7c); }
Similar colors
#5b4276Drifting Violet#5c457bIn the Vines#664488Lords of the Night#583580Kingfisher Daisy#623b70Heartless#614a7bRoyal Robe#593569Purple Protégé#604c81Sumptuous Purple
Closest common color name: Dark Slate Blue.
Questions
- What color is #5D3E7C?
- #5D3E7C is a dark, desaturated violet, closest to the named color Drifting Violet. It belongs to the purple family of colors.
- What is the RGB value of #5D3E7C?
- The RGB value is 93, 62, 124: 93 red, 62 green and 124 blue on a 0 to 255 scale.
- What is the complementary color of #5D3E7C?
- The complementary color is #5D7C3E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5D3E7C?
- White text. Black text has a contrast ratio of 2.45:1 and white text 8.59:1. WCAG asks for at least 4.5:1 for normal text.