#5B576C color
The hex color #5B576C is a grayish violet.
In the RGB color model it is made of 35.7% red, 34.1% green and 42.4% blue (91, 87, 108).
Its hue angle is 251°, with 11% saturation and 38% lightness. For print, the CMYK equivalent is 16% cyan, 19% magenta, 0% yellow and 58% black.
The closest named color is Freefall (#565266), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.94:1).
#5B576C color codes
| HEX | #5B576C | |
|---|---|---|
| RGB | rgb(91, 87, 108) | |
| RGB percent | rgb(35.7%, 34.1%, 42.4%) | |
| HSL | hsl(251, 11%, 38%) | |
| HSV / HSB | hsv(251, 19%, 42%) | |
| CMYK | cmyk(16%, 19%, 0%, 58%) | |
| CIE LAB | lab(38.06, 6.34, -11.42) | |
| CIE LCH | lch(38.06, 13.06, 299.05) | |
| CIE XYZ | xyz(10.429, 10.123, 15.589) | |
| Decimal | 5986156 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B576C, 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 #5B576C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.02:1 | Fail | Fail | Pass |
| Sample text | 6.94:1 | Pass | Fail | Pass |
| #5B576C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.94:1 | Pass | Fail | Pass |
| Sample text | 3.02:1 | Fail | Fail | Pass |
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 #5B576C looks to people with the most common types of color vision deficiency.
#535a6dProtanopia
no red cones#53596bDeuteranopia
no green cones#585a5eTritanopia
no blue cones#5a5a5aAchromatopsia
no color vision
CSS examples
.background { background-color: #5b576c; }
.text { color: #5b576c; }
.border { border: 2px solid #5b576c; }
.transparent { background-color: rgb(91 87 108 / 50%); }
.gradient { background: linear-gradient(to right, #5b576c, #66576c); }
Similar colors
#565266Freefall#555570Majestic Magic#605d6bSmoky#625665Fedora#525463Black Orchid#4d516cIntergalactic#675a75Plummy#5f606eVenus Mist
Closest common color name: Dim Gray.
Questions
- What color is #5B576C?
- #5B576C is a grayish violet, closest to the named color Freefall. It belongs to the blue family of colors.
- What is the RGB value of #5B576C?
- The RGB value is 91, 87, 108: 91 red, 87 green and 108 blue on a 0 to 255 scale.
- What is the complementary color of #5B576C?
- The complementary color is #686C57, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B576C?
- White text. Black text has a contrast ratio of 3.02:1 and white text 6.94:1. WCAG asks for at least 4.5:1 for normal text.