#524B5B color
The hex color #524B5B is a dark, grayish violet.
In the RGB color model it is made of 32.2% red, 29.4% green and 35.7% blue (82, 75, 91).
Its hue angle is 266°, with 10% saturation and 33% lightness. For print, the CMYK equivalent is 10% cyan, 18% magenta, 0% yellow and 64% black.
The closest named color is Black Magic (#4F4554), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.35:1).
#524B5B color codes
| HEX | #524B5B | |
|---|---|---|
| RGB | rgb(82, 75, 91) | |
| RGB percent | rgb(32.2%, 29.4%, 35.7%) | |
| HSL | hsl(266, 10%, 33%) | |
| HSV / HSB | hsv(266, 18%, 36%) | |
| CMYK | cmyk(10%, 18%, 0%, 64%) | |
| CIE LAB | lab(33.1, 6.44, -8.34) | |
| CIE LCH | lch(33.1, 10.54, 307.66) | |
| CIE XYZ | xyz(7.884, 7.581, 10.944) | |
| Decimal | 5393243 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #524B5B, 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 #524B5B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.52:1 | Fail | Fail | Fail |
| Sample text | 8.35:1 | Pass | Pass | Pass |
| #524B5B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.35:1 | Pass | Pass | Pass |
| Sample text | 2.52: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 #524B5B looks to people with the most common types of color vision deficiency.
#484e5cProtanopia
no red cones#4a4e5aDeuteranopia
no green cones#514d50Tritanopia
no blue cones#4e4e4eAchromatopsia
no color vision
CSS examples
.background { background-color: #524b5b; }
.text { color: #524b5b; }
.border { border: 2px solid #524b5b; }
.transparent { background-color: rgb(82 75 91 / 50%); }
.gradient { background: linear-gradient(to right, #524b5b, #5a4b5b); }
Similar colors
#4f4554Black Magic#565266Freefall#484753Gun Powder#625665Fedora#413d4bItalian Grape#525463Black Orchid#545663Blackwater#555570Majestic Magic
Closest common color name: Eggplant.
Questions
- What color is #524B5B?
- #524B5B is a dark, grayish violet, closest to the named color Black Magic. It belongs to the gray family of colors.
- What is the RGB value of #524B5B?
- The RGB value is 82, 75, 91: 82 red, 75 green and 91 blue on a 0 to 255 scale.
- What is the complementary color of #524B5B?
- The complementary color is #545B4B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #524B5B?
- White text. Black text has a contrast ratio of 2.52:1 and white text 8.35:1. WCAG asks for at least 4.5:1 for normal text.