#504254 color
The hex color #504254 is a dark, grayish magenta.
In the RGB color model it is made of 31.4% red, 25.9% green and 32.9% blue (80, 66, 84).
Its hue angle is 287°, with 12% saturation and 29% lightness. For print, the CMYK equivalent is 5% cyan, 21% magenta, 0% yellow and 67% 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 9.34:1).
#504254 color codes
| HEX | #504254 | |
|---|---|---|
| RGB | rgb(80, 66, 84) | |
| RGB percent | rgb(31.4%, 25.9%, 32.9%) | |
| HSL | hsl(287, 12%, 29%) | |
| HSV / HSB | hsv(287, 21%, 33%) | |
| CMYK | cmyk(5%, 21%, 0%, 67%) | |
| CIE LAB | lab(30.02, 9.8, -8.52) | |
| CIE LCH | lch(30.02, 12.98, 319) | |
| CIE XYZ | xyz(6.856, 6.242, 9.229) | |
| Decimal | 5259860 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #504254, 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 #504254 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.25:1 | Fail | Fail | Fail |
| Sample text | 9.34:1 | Pass | Pass | Pass |
| #504254 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.34:1 | Pass | Pass | Pass |
| Sample text | 2.25: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 #504254 looks to people with the most common types of color vision deficiency.
#404655Protanopia
no red cones#434753Deuteranopia
no green cones#504448Tritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #504254; }
.text { color: #504254; }
.border { border: 2px solid #504254; }
.transparent { background-color: rgb(80 66 84 / 50%); }
.gradient { background: linear-gradient(to right, #504254, #54424f); }
Similar colors
#4f4554Black Magic#42364cCall It a Night#403547Royal Decree#544563Nightly Walk#413d4bItalian Grape#443240Voodoo#3f354fMaharaja#565266Freefall
Closest common color name: Eggplant.
Questions
- What color is #504254?
- #504254 is a dark, grayish magenta, closest to the named color Black Magic. It belongs to the gray family of colors.
- What is the RGB value of #504254?
- The RGB value is 80, 66, 84: 80 red, 66 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #504254?
- The complementary color is #465442, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #504254?
- White text. Black text has a contrast ratio of 2.25:1 and white text 9.34:1. WCAG asks for at least 4.5:1 for normal text.