#5D5386 color
The hex color #5D5386 is a grayish violet.
In the RGB color model it is made of 36.5% red, 32.5% green and 52.5% blue (93, 83, 134).
Its hue angle is 252°, with 24% saturation and 43% lightness. For print, the CMYK equivalent is 31% cyan, 38% magenta, 0% yellow and 47% black.
The closest named color is Freshly Purpleized (#5C5083), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.89:1).
#5D5386 color codes
| HEX | #5D5386 | |
|---|---|---|
| RGB | rgb(93, 83, 134) | |
| RGB percent | rgb(36.5%, 32.5%, 52.5%) | |
| HSL | hsl(252, 24%, 43%) | |
| HSV / HSB | hsv(252, 38%, 53%) | |
| CMYK | cmyk(31%, 38%, 0%, 47%) | |
| CIE LAB | lab(38.26, 16.32, -27.09) | |
| CIE LCH | lch(38.26, 31.62, 301.07) | |
| CIE XYZ | xyz(11.909, 10.235, 23.898) | |
| Decimal | 6116230 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5D5386, 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 #5D5386 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.05:1 | Fail | Fail | Pass |
| Sample text | 6.89:1 | Pass | Fail | Pass |
| #5D5386 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.89:1 | Pass | Fail | Pass |
| Sample text | 3.05:1 | Fail | Fail | Pass |
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 #5D5386 looks to people with the most common types of color vision deficiency.
#455b88Protanopia
no red cones#455985Deuteranopia
no green cones#545c66Tritanopia
no blue cones#5a5a5aAchromatopsia
no color vision
CSS examples
.background { background-color: #5d5386; }
.text { color: #5d5386; }
.border { border: 2px solid #5d5386; }
.transparent { background-color: rgb(93 83 134 / 50%); }
.gradient { background: linear-gradient(to right, #5d5386, #775386); }
Similar colors
#5c5083Freshly Purpleized#604c81Sumptuous Purple#655883Berry Jam#50507fTangent Periwinkle#614a7bRoyal Robe#4e518bTwilight#4e5481Dusk#5c457bIn the Vines
Closest common color name: Dark Slate Blue.
Questions
- What color is #5D5386?
- #5D5386 is a grayish violet, closest to the named color Freshly Purpleized. It belongs to the blue family of colors.
- What is the RGB value of #5D5386?
- The RGB value is 93, 83, 134: 93 red, 83 green and 134 blue on a 0 to 255 scale.
- What is the complementary color of #5D5386?
- The complementary color is #7C8653, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5D5386?
- White text. Black text has a contrast ratio of 3.05:1 and white text 6.89:1. WCAG asks for at least 4.5:1 for normal text.