#5D4E9B color
The hex color #5D4E9B is a desaturated violet.
In the RGB color model it is made of 36.5% red, 30.6% green and 60.8% blue (93, 78, 155).
Its hue angle is 252°, with 33% saturation and 46% lightness. For print, the CMYK equivalent is 40% cyan, 50% magenta, 0% yellow and 39% black.
The closest named color is Ultrapurple Merge (#654EA3), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.93:1).
#5D4E9B color codes
| HEX | #5D4E9B | |
|---|---|---|
| RGB | rgb(93, 78, 155) | |
| RGB percent | rgb(36.5%, 30.6%, 60.8%) | |
| HSL | hsl(252, 33%, 46%) | |
| HSV / HSB | hsv(252, 50%, 61%) | |
| CMYK | cmyk(40%, 50%, 0%, 39%) | |
| CIE LAB | lab(38.1, 25.45, -40.07) | |
| CIE LCH | lch(38.1, 47.47, 302.42) | |
| CIE XYZ | xyz(13.153, 10.142, 32.269) | |
| Decimal | 6114971 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5D4E9B, 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 #5D4E9B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.03:1 | Fail | Fail | Pass |
| Sample text | 6.93:1 | Pass | Fail | Pass |
| #5D4E9B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.93:1 | Pass | Fail | Pass |
| Sample text | 3.03: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 #5D4E9B looks to people with the most common types of color vision deficiency.
#305b9eProtanopia
no red cones#315899Deuteranopia
no green cones#4c5e6dTritanopia
no blue cones#5a5a5aAchromatopsia
no color vision
CSS examples
.background { background-color: #5d4e9b; }
.text { color: #5d4e9b; }
.border { border: 2px solid #5d4e9b; }
.transparent { background-color: rgb(93 78 155 / 50%); }
.gradient { background: linear-gradient(to right, #5d4e9b, #834e9b); }
Similar colors
#654ea3Ultrapurple Merge#6f58a6Prophet Violet#4e518bTwilight#6f5698Passion Flower#444499Galaxy Express#464196Blueberry#5c5083Freshly Purpleized#715bb1Simply Purple
Closest common color name: Royal Purple.
Questions
- What color is #5D4E9B?
- #5D4E9B is a desaturated violet, closest to the named color Ultrapurple Merge. It belongs to the blue family of colors.
- What is the RGB value of #5D4E9B?
- The RGB value is 93, 78, 155: 93 red, 78 green and 155 blue on a 0 to 255 scale.
- What is the complementary color of #5D4E9B?
- The complementary color is #8C9B4E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5D4E9B?
- White text. Black text has a contrast ratio of 3.03:1 and white text 6.93:1. WCAG asks for at least 4.5:1 for normal text.