#5D5175 color
The hex color #5D5175 is a grayish violet.
In the RGB color model it is made of 36.5% red, 31.8% green and 45.9% blue (93, 81, 117).
Its hue angle is 260°, with 18% saturation and 39% lightness. For print, the CMYK equivalent is 21% cyan, 31% magenta, 0% yellow and 54% black.
The closest named color is Berry Jam (#655883), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.24:1).
#5D5175 color codes
| HEX | #5D5175 | |
|---|---|---|
| RGB | rgb(93, 81, 117) | |
| RGB percent | rgb(36.5%, 31.8%, 45.9%) | |
| HSL | hsl(260, 18%, 39%) | |
| HSV / HSB | hsv(260, 31%, 46%) | |
| CMYK | cmyk(21%, 31%, 0%, 54%) | |
| CIE LAB | lab(36.92, 13.06, -18.72) | |
| CIE LCH | lch(36.92, 22.82, 304.91) | |
| CIE XYZ | xyz(10.667, 9.496, 18.097) | |
| Decimal | 6115701 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5D5175, 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 #5D5175 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.9:1 | Fail | Fail | Fail |
| Sample text | 7.24:1 | Pass | Pass | Pass |
| #5D5175 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.24:1 | Pass | Pass | Pass |
| Sample text | 2.9: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 #5D5175 looks to people with the most common types of color vision deficiency.
#495776Protanopia
no red cones#4b5774Deuteranopia
no green cones#59575eTritanopia
no blue cones#575757Achromatopsia
no color vision
CSS examples
.background { background-color: #5d5175; }
.text { color: #5d5175; }
.border { border: 2px solid #5d5175; }
.transparent { background-color: rgb(93 81 117 / 50%); }
.gradient { background: linear-gradient(to right, #5d5175, #6f5175); }
Similar colors
#655883Berry Jam#61496eYour Majesty#5c5083Freshly Purpleized#675a75Plummy#614a7bRoyal Robe#57446aHaunted Candelabra#544563Nightly Walk#604c81Sumptuous Purple
Closest common color name: Eggplant.
Questions
- What color is #5D5175?
- #5D5175 is a grayish violet, closest to the named color Berry Jam. It belongs to the purple family of colors.
- What is the RGB value of #5D5175?
- The RGB value is 93, 81, 117: 93 red, 81 green and 117 blue on a 0 to 255 scale.
- What is the complementary color of #5D5175?
- The complementary color is #697551, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5D5175?
- White text. Black text has a contrast ratio of 2.9:1 and white text 7.24:1. WCAG asks for at least 4.5:1 for normal text.