#5C5166 color
The hex color #5C5166 is a dark, grayish violet.
In the RGB color model it is made of 36.1% red, 31.8% green and 40% blue (92, 81, 102).
Its hue angle is 271°, with 11% saturation and 36% lightness. For print, the CMYK equivalent is 10% cyan, 21% magenta, 0% yellow and 60% black.
The closest named color is Fedora (#625665), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.44:1).
#5C5166 color codes
| HEX | #5C5166 | |
|---|---|---|
| RGB | rgb(92, 81, 102) | |
| RGB percent | rgb(36.1%, 31.8%, 40%) | |
| HSL | hsl(271, 11%, 36%) | |
| HSV / HSB | hsv(271, 21%, 40%) | |
| CMYK | cmyk(10%, 21%, 0%, 60%) | |
| CIE LAB | lab(36.21, 9.03, -10.47) | |
| CIE LCH | lch(36.21, 13.83, 310.77) | |
| CIE XYZ | xyz(9.754, 9.12, 13.814) | |
| Decimal | 6050150 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5C5166, 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 #5C5166 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.82:1 | Fail | Fail | Fail |
| Sample text | 7.44:1 | Pass | Pass | Pass |
| #5C5166 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 #5C5166 looks to people with the most common types of color vision deficiency.
#4e5567Protanopia
no red cones#505565Deuteranopia
no green cones#5b5458Tritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #5c5166; }
.text { color: #5c5166; }
.border { border: 2px solid #5c5166; }
.transparent { background-color: rgb(92 81 102 / 50%); }
.gradient { background: linear-gradient(to right, #5c5166, #665166); }
Similar colors
#625665Fedora#565266Freefall#675a75Plummy#4f4554Black Magic#555570Majestic Magic#544563Nightly Walk#605d6bSmoky#4d516cIntergalactic
Closest common color name: Eggplant.
Questions
- What color is #5C5166?
- #5C5166 is a dark, grayish violet, closest to the named color Fedora. It belongs to the purple family of colors.
- What is the RGB value of #5C5166?
- The RGB value is 92, 81, 102: 92 red, 81 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #5C5166?
- The complementary color is #5B6651, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5C5166?
- 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.