#5D5275 color
The hex color #5D5275 is a grayish violet.
In the RGB color model it is made of 36.5% red, 32.2% green and 45.9% blue (93, 82, 117).
Its hue angle is 259°, with 18% saturation and 39% lightness. For print, the CMYK equivalent is 21% cyan, 30% magenta, 0% yellow and 54% black.
The closest named color is Berry Jam (#655883), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.17:1).
#5D5275 color codes
| HEX | #5D5275 | |
|---|---|---|
| RGB | rgb(93, 82, 117) | |
| RGB percent | rgb(36.5%, 32.2%, 45.9%) | |
| HSL | hsl(259, 18%, 39%) | |
| HSV / HSB | hsv(259, 30%, 46%) | |
| CMYK | cmyk(21%, 30%, 0%, 54%) | |
| CIE LAB | lab(37.2, 12.43, -18.29) | |
| CIE LCH | lch(37.2, 22.12, 304.2) | |
| CIE XYZ | xyz(10.742, 9.646, 18.122) | |
| Decimal | 6115957 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5D5275, 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 #5D5275 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.93:1 | Fail | Fail | Fail |
| Sample text | 7.17:1 | Pass | Pass | Pass |
| #5D5275 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.17:1 | Pass | Pass | Pass |
| Sample text | 2.93: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 #5D5275 looks to people with the most common types of color vision deficiency.
#4a5876Protanopia
no red cones#4c5774Deuteranopia
no green cones#59575eTritanopia
no blue cones#585858Achromatopsia
no color vision
CSS examples
.background { background-color: #5d5275; }
.text { color: #5d5275; }
.border { border: 2px solid #5d5275; }
.transparent { background-color: rgb(93 82 117 / 50%); }
.gradient { background: linear-gradient(to right, #5d5275, #6f5275); }
Similar colors
#655883Berry Jam#675a75Plummy#61496eYour Majesty#5c5083Freshly Purpleized#544563Nightly Walk#57446aHaunted Candelabra#614a7bRoyal Robe#555570Majestic Magic
Closest common color name: Eggplant.
Questions
- What color is #5D5275?
- #5D5275 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 #5D5275?
- The RGB value is 93, 82, 117: 93 red, 82 green and 117 blue on a 0 to 255 scale.
- What is the complementary color of #5D5275?
- The complementary color is #6A7552, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5D5275?
- White text. Black text has a contrast ratio of 2.93:1 and white text 7.17:1. WCAG asks for at least 4.5:1 for normal text.