#5D4D7D color
The hex color #5D4D7D is a grayish violet.
In the RGB color model it is made of 36.5% red, 30.2% green and 49% blue (93, 77, 125).
Its hue angle is 260°, with 24% saturation and 40% lightness. For print, the CMYK equivalent is 26% cyan, 38% magenta, 0% yellow and 51% black.
The closest named color is Sumptuous Purple (#604C81), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.44:1).
#5D4D7D color codes
| HEX | #5D4D7D | |
|---|---|---|
| RGB | rgb(93, 77, 125) | |
| RGB percent | rgb(36.5%, 30.2%, 49%) | |
| HSL | hsl(260, 24%, 40%) | |
| HSV / HSB | hsv(260, 38%, 49%) | |
| CMYK | cmyk(26%, 38%, 0%, 51%) | |
| CIE LAB | lab(36.21, 17.67, -24.78) | |
| CIE LCH | lch(36.21, 30.43, 305.49) | |
| CIE XYZ | xyz(10.869, 9.116, 20.585) | |
| Decimal | 6114685 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5D4D7D, 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 #5D4D7D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.82:1 | Fail | Fail | Fail |
| Sample text | 7.44:1 | Pass | Pass | Pass |
| #5D4D7D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.44:1 | Pass | Pass | Pass |
| Sample text | 2.82: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 #5D4D7D looks to people with the most common types of color vision deficiency.
#41557fProtanopia
no red cones#44557cDeuteranopia
no green cones#57555fTritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #5d4d7d; }
.text { color: #5d4d7d; }
.border { border: 2px solid #5d4d7d; }
.transparent { background-color: rgb(93 77 125 / 50%); }
.gradient { background: linear-gradient(to right, #5d4d7d, #754d7d); }
Similar colors
#604c81Sumptuous Purple#5c5083Freshly Purpleized#614a7bRoyal Robe#5c457bIn the Vines#5b4276Drifting Violet#655883Berry Jam#674876Neon Violet#57446aHaunted Candelabra
Closest common color name: Dark Slate Blue.
Questions
- What color is #5D4D7D?
- #5D4D7D is a grayish violet, closest to the named color Sumptuous Purple. It belongs to the purple family of colors.
- What is the RGB value of #5D4D7D?
- The RGB value is 93, 77, 125: 93 red, 77 green and 125 blue on a 0 to 255 scale.
- What is the complementary color of #5D4D7D?
- The complementary color is #6D7D4D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5D4D7D?
- White text. Black text has a contrast ratio of 2.82:1 and white text 7.44:1. WCAG asks for at least 4.5:1 for normal text.