#5C5164 color
The hex color #5C5164 is a dark, grayish violet.
In the RGB color model it is made of 36.1% red, 31.8% green and 39.2% blue (92, 81, 100).
Its hue angle is 275°, with 10% saturation and 35% lightness. For print, the CMYK equivalent is 8% cyan, 19% magenta, 0% yellow and 61% black.
The closest named color is Fedora (#625665), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.46:1).
#5C5164 color codes
| HEX | #5C5164 | |
|---|---|---|
| RGB | rgb(92, 81, 100) | |
| RGB percent | rgb(36.1%, 31.8%, 39.2%) | |
| HSL | hsl(275, 10%, 35%) | |
| HSV / HSB | hsv(275, 19%, 39%) | |
| CMYK | cmyk(8%, 19%, 0%, 61%) | |
| CIE LAB | lab(36.14, 8.57, -9.34) | |
| CIE LCH | lch(36.14, 12.67, 312.55) | |
| CIE XYZ | xyz(9.656, 9.08, 13.298) | |
| Decimal | 6050148 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5C5164, 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 #5C5164 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.82:1 | Fail | Fail | Fail |
| Sample text | 7.46:1 | Pass | Pass | Pass |
| #5C5164 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.46: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 #5C5164 looks to people with the most common types of color vision deficiency.
#4e5465Protanopia
no red cones#505563Deuteranopia
no green cones#5b5357Tritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #5c5164; }
.text { color: #5c5164; }
.border { border: 2px solid #5c5164; }
.transparent { background-color: rgb(92 81 100 / 50%); }
.gradient { background: linear-gradient(to right, #5c5164, #645163); }
Similar colors
#625665Fedora#565266Freefall#4f4554Black Magic#675a75Plummy#555570Majestic Magic#544563Nightly Walk#605d6bSmoky#605258Pinot Noir
Closest common color name: Eggplant.
Questions
- What color is #5C5164?
- #5C5164 is a dark, grayish violet, closest to the named color Fedora. It belongs to the gray family of colors.
- What is the RGB value of #5C5164?
- The RGB value is 92, 81, 100: 92 red, 81 green and 100 blue on a 0 to 255 scale.
- What is the complementary color of #5C5164?
- The complementary color is #596451, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5C5164?
- White text. Black text has a contrast ratio of 2.82:1 and white text 7.46:1. WCAG asks for at least 4.5:1 for normal text.