#54404F color
The hex color #54404F is a dark, grayish magenta.
In the RGB color model it is made of 32.9% red, 25.1% green and 31% blue (84, 64, 79).
Its hue angle is 315°, with 14% saturation and 29% lightness. For print, the CMYK equivalent is 0% cyan, 24% magenta, 6% yellow and 67% black.
The closest named color is Black Magic (#4F4554), a difference of 4.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.45:1).
#54404F color codes
| HEX | #54404F | |
|---|---|---|
| RGB | rgb(84, 64, 79) | |
| RGB percent | rgb(32.9%, 25.1%, 31%) | |
| HSL | hsl(315, 14%, 29%) | |
| HSV / HSB | hsv(315, 24%, 33%) | |
| CMYK | cmyk(0%, 24%, 6%, 67%) | |
| CIE LAB | lab(29.7, 11.59, -5.7) | |
| CIE LCH | lch(29.7, 12.91, 333.8) | |
| CIE XYZ | xyz(6.901, 6.116, 8.213) | |
| Decimal | 5521487 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #54404F, 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 #54404F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.22:1 | Fail | Fail | Fail |
| Sample text | 9.45:1 | Pass | Pass | Pass |
| #54404F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.45: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 #54404F looks to people with the most common types of color vision deficiency.
#404450Protanopia
no red cones#45474eDeuteranopia
no green cones#564145Tritanopia
no blue cones#464646Achromatopsia
no color vision
CSS examples
.background { background-color: #54404f; }
.text { color: #54404f; }
.border { border: 2px solid #54404f; }
.transparent { background-color: rgb(84 64 79 / 50%); }
.gradient { background: linear-gradient(to right, #54404f, #544045); }
Similar colors
#4f4554Black Magic#614051Eggplant#443240Voodoo#403547Royal Decree#42364cCall It a Night#4e334eShadow Purple#483c41Pitch Black#64435fGrape Fizz
Questions
- What color is #54404F?
- #54404F 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 #54404F?
- The RGB value is 84, 64, 79: 84 red, 64 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of #54404F?
- The complementary color is #405445, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #54404F?
- White text. Black text has a contrast ratio of 2.22:1 and white text 9.45:1. WCAG asks for at least 4.5:1 for normal text.