#524A66 color
The hex color #524A66 is a dark, grayish violet.
In the RGB color model it is made of 32.2% red, 29% green and 40% blue (82, 74, 102).
Its hue angle is 257°, with 16% saturation and 35% lightness. For print, the CMYK equivalent is 20% cyan, 27% magenta, 0% yellow and 60% black.
The closest named color is Nightly Walk (#544563), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.3:1).
#524A66 color codes
| HEX | #524A66 | |
|---|---|---|
| RGB | rgb(82, 74, 102) | |
| RGB percent | rgb(32.2%, 29%, 40%) | |
| HSL | hsl(257, 16%, 35%) | |
| HSV / HSB | hsv(257, 27%, 40%) | |
| CMYK | cmyk(20%, 27%, 0%, 60%) | |
| CIE LAB | lab(33.24, 9.8, -15.08) | |
| CIE LCH | lch(33.24, 17.99, 303.01) | |
| CIE XYZ | xyz(8.326, 7.651, 13.606) | |
| Decimal | 5392998 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #524A66, 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 #524A66 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.53:1 | Fail | Fail | Fail |
| Sample text | 8.3:1 | Pass | Pass | Pass |
| #524A66 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.3:1 | Pass | Pass | Pass |
| Sample text | 2.53: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 #524A66 looks to people with the most common types of color vision deficiency.
#444e67Protanopia
no red cones#454e65Deuteranopia
no green cones#4e4e54Tritanopia
no blue cones#4e4e4eAchromatopsia
no color vision
CSS examples
.background { background-color: #524a66; }
.text { color: #524a66; }
.border { border: 2px solid #524a66; }
.transparent { background-color: rgb(82 74 102 / 50%); }
.gradient { background: linear-gradient(to right, #524a66, #604a66); }
Similar colors
#544563Nightly Walk#565266Freefall#555570Majestic Magic#57446aHaunted Candelabra#4d516cIntergalactic#4f4554Black Magic#61496eYour Majesty#3e4364Genie
Closest common color name: Eggplant.
Questions
- What color is #524A66?
- #524A66 is a dark, grayish violet, closest to the named color Nightly Walk. It belongs to the purple family of colors.
- What is the RGB value of #524A66?
- The RGB value is 82, 74, 102: 82 red, 74 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #524A66?
- The complementary color is #5E664A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #524A66?
- White text. Black text has a contrast ratio of 2.53:1 and white text 8.3:1. WCAG asks for at least 4.5:1 for normal text.