#524052 color
The hex color #524052 is a dark, grayish magenta.
In the RGB color model it is made of 32.2% red, 25.1% green and 32.2% blue (82, 64, 82).
Its hue angle is 300°, with 12% saturation and 29% lightness. For print, the CMYK equivalent is 0% cyan, 22% magenta, 0% yellow and 68% black.
The closest named color is Black Magic (#4F4554), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.49:1).
#524052 color codes
| HEX | #524052 | |
|---|---|---|
| RGB | rgb(82, 64, 82) | |
| RGB percent | rgb(32.2%, 25.1%, 32.2%) | |
| HSL | hsl(300, 12%, 29%) | |
| HSV / HSB | hsv(300, 22%, 32%) | |
| CMYK | cmyk(0%, 22%, 0%, 68%) | |
| CIE LAB | lab(29.59, 11.43, -7.85) | |
| CIE LCH | lch(29.59, 13.86, 325.53) | |
| CIE XYZ | xyz(6.836, 6.07, 8.793) | |
| Decimal | 5390418 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #524052, 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 #524052 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.21:1 | Fail | Fail | Fail |
| Sample text | 9.49:1 | Pass | Pass | Pass |
| #524052 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.49:1 | Pass | Pass | Pass |
| Sample text | 2.21: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 #524052 looks to people with the most common types of color vision deficiency.
#3f4453Protanopia
no red cones#434651Deuteranopia
no green cones#534146Tritanopia
no blue cones#464646Achromatopsia
no color vision
CSS examples
.background { background-color: #524052; }
.text { color: #524052; }
.border { border: 2px solid #524052; }
.transparent { background-color: rgb(82 64 82 / 50%); }
.gradient { background: linear-gradient(to right, #524052, #524049); }
Similar colors
#4f4554Black Magic#42364cCall It a Night#443240Voodoo#403547Royal Decree#544563Nightly Walk#614051Eggplant#4e334eShadow Purple#64435fGrape Fizz
Questions
- What color is #524052?
- #524052 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 #524052?
- The RGB value is 82, 64, 82: 82 red, 64 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #524052?
- The complementary color is #405240, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #524052?
- White text. Black text has a contrast ratio of 2.21:1 and white text 9.49:1. WCAG asks for at least 4.5:1 for normal text.