#524054 color
The hex color #524054 is a dark, grayish magenta.
In the RGB color model it is made of 32.2% red, 25.1% green and 32.9% blue (82, 64, 84).
Its hue angle is 294°, with 14% saturation and 29% lightness. For print, the CMYK equivalent is 2% cyan, 24% magenta, 0% yellow and 67% black.
The closest named color is Black Magic (#4F4554), a difference of 4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.46:1).
#524054 color codes
| HEX | #524054 | |
|---|---|---|
| RGB | rgb(82, 64, 84) | |
| RGB percent | rgb(32.2%, 25.1%, 32.9%) | |
| HSL | hsl(294, 14%, 29%) | |
| HSV / HSB | hsv(294, 24%, 33%) | |
| CMYK | cmyk(2%, 24%, 0%, 67%) | |
| CIE LAB | lab(29.67, 11.88, -9.03) | |
| CIE LCH | lch(29.67, 14.92, 322.77) | |
| CIE XYZ | xyz(6.913, 6.101, 9.199) | |
| Decimal | 5390420 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #524054, 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 #524054 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.22:1 | Fail | Fail | Fail |
| Sample text | 9.46:1 | Pass | Pass | Pass |
| #524054 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.46:1 | Pass | Pass | Pass |
| Sample text | 2.22: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 #524054 looks to people with the most common types of color vision deficiency.
#3e4555Protanopia
no red cones#424753Deuteranopia
no green cones#534247Tritanopia
no blue cones#464646Achromatopsia
no color vision
CSS examples
.background { background-color: #524054; }
.text { color: #524054; }
.border { border: 2px solid #524054; }
.transparent { background-color: rgb(82 64 84 / 50%); }
.gradient { background: linear-gradient(to right, #524054, #54404c); }
Similar colors
#4f4554Black Magic#544563Nightly Walk#42364cCall It a Night#403547Royal Decree#4e334eShadow Purple#443240Voodoo#614051Eggplant#64435fGrape Fizz
Questions
- What color is #524054?
- #524054 is a dark, grayish magenta, closest to the named color Black Magic. It belongs to the purple family of colors.
- What is the RGB value of #524054?
- The RGB value is 82, 64, 84: 82 red, 64 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #524054?
- The complementary color is #425440, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #524054?
- White text. Black text has a contrast ratio of 2.22:1 and white text 9.46:1. WCAG asks for at least 4.5:1 for normal text.