#5D3987 color
The hex color #5D3987 is a dark, desaturated violet.
In the RGB color model it is made of 36.5% red, 22.4% green and 52.9% blue (93, 57, 135).
Its hue angle is 268°, with 41% saturation and 38% lightness. For print, the CMYK equivalent is 31% cyan, 58% magenta, 0% yellow and 47% black.
The closest named color is Kingfisher Daisy (#583580), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.75:1).
#5D3987 color codes
| HEX | #5D3987 | |
|---|---|---|
| RGB | rgb(93, 57, 135) | |
| RGB percent | rgb(36.5%, 22.4%, 52.9%) | |
| HSL | hsl(268, 41%, 38%) | |
| HSV / HSB | hsv(268, 58%, 53%) | |
| CMYK | cmyk(31%, 58%, 0%, 47%) | |
| CIE LAB | lab(31.81, 32.67, -37.91) | |
| CIE LCH | lch(31.81, 50.05, 310.75) | |
| CIE XYZ | xyz(10.35, 7.003, 23.723) | |
| Decimal | 6109575 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5D3987, 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 #5D3987 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.4:1 | Fail | Fail | Fail |
| Sample text | 8.75:1 | Pass | Pass | Pass |
| #5D3987 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.75:1 | Pass | Pass | Pass |
| Sample text | 2.4: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 #5D3987 looks to people with the most common types of color vision deficiency.
#1a4a8aProtanopia
no red cones#274b85Deuteranopia
no green cones#55485aTritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #5d3987; }
.text { color: #5d3987; }
.border { border: 2px solid #5d3987; }
.transparent { background-color: rgb(93 57 135 / 50%); }
.gradient { background: linear-gradient(to right, #5d3987, #843987); }
Similar colors
#583580Kingfisher Daisy#5c2e88Purple Patch#573894Ruthless Empress#572e89Night Fever#632f92Lucid Dreams#664488Lords of the Night#663399Rebecca Purple#69359cPurple Heart
Questions
- What color is #5D3987?
- #5D3987 is a dark, desaturated violet, closest to the named color Kingfisher Daisy. It belongs to the purple family of colors.
- What is the RGB value of #5D3987?
- The RGB value is 93, 57, 135: 93 red, 57 green and 135 blue on a 0 to 255 scale.
- What is the complementary color of #5D3987?
- The complementary color is #638739, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5D3987?
- White text. Black text has a contrast ratio of 2.4:1 and white text 8.75:1. WCAG asks for at least 4.5:1 for normal text.