#4E404D color
The hex color #4E404D is a dark, grayish magenta.
In the RGB color model it is made of 30.6% red, 25.1% green and 30.2% blue (78, 64, 77).
Its hue angle is 304°, with 10% saturation and 28% lightness. For print, the CMYK equivalent is 0% cyan, 18% magenta, 1% yellow and 69% black.
The closest named color is Black Magic (#4F4554), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.7:1).
#4E404D color codes
| HEX | #4E404D | |
|---|---|---|
| RGB | rgb(78, 64, 77) | |
| RGB percent | rgb(30.6%, 25.1%, 30.2%) | |
| HSL | hsl(304, 10%, 28%) | |
| HSV / HSB | hsv(304, 18%, 31%) | |
| CMYK | cmyk(0%, 18%, 1%, 69%) | |
| CIE LAB | lab(28.96, 8.71, -5.58) | |
| CIE LCH | lch(28.96, 10.35, 327.35) | |
| CIE XYZ | xyz(6.315, 5.822, 7.811) | |
| Decimal | 5128269 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4E404D, 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 #4E404D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.16:1 | Fail | Fail | Fail |
| Sample text | 9.7:1 | Pass | Pass | Pass |
| #4E404D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.7:1 | Pass | Pass | Pass |
| Sample text | 2.16: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 #4E404D looks to people with the most common types of color vision deficiency.
#3f434eProtanopia
no red cones#42454cDeuteranopia
no green cones#4f4144Tritanopia
no blue cones#444444Achromatopsia
no color vision
CSS examples
.background { background-color: #4e404d; }
.text { color: #4e404d; }
.border { border: 2px solid #4e404d; }
.transparent { background-color: rgb(78 64 77 / 50%); }
.gradient { background: linear-gradient(to right, #4e404d, #4e4046); }
Similar colors
#4f4554Black Magic#483c41Pitch Black#403547Royal Decree#443240Voodoo#413d4bItalian Grape#42364cCall It a Night#4b373aVibrant Vine#41373aVoid Wellness Coach
Closest common color name: Eggplant.
Questions
- What color is #4E404D?
- #4E404D 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 #4E404D?
- The RGB value is 78, 64, 77: 78 red, 64 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #4E404D?
- The complementary color is #404E41, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4E404D?
- White text. Black text has a contrast ratio of 2.16:1 and white text 9.7:1. WCAG asks for at least 4.5:1 for normal text.