#4D404E color
The hex color #4D404E is a dark, grayish magenta.
In the RGB color model it is made of 30.2% red, 25.1% green and 30.6% blue (77, 64, 78).
Its hue angle is 296°, with 10% saturation and 28% lightness. For print, the CMYK equivalent is 1% cyan, 18% magenta, 0% yellow and 69% black.
The closest named color is Black Magic (#4F4554), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.73:1).
#4D404E color codes
| HEX | #4D404E | |
|---|---|---|
| RGB | rgb(77, 64, 78) | |
| RGB percent | rgb(30.2%, 25.1%, 30.6%) | |
| HSL | hsl(296, 10%, 28%) | |
| HSV / HSB | hsv(296, 18%, 31%) | |
| CMYK | cmyk(1%, 18%, 0%, 69%) | |
| CIE LAB | lab(28.89, 8.53, -6.35) | |
| CIE LCH | lch(28.89, 10.64, 323.32) | |
| CIE XYZ | xyz(6.269, 5.795, 7.995) | |
| Decimal | 5062734 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D404E, 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 #4D404E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.16:1 | Fail | Fail | Fail |
| Sample text | 9.73:1 | Pass | Pass | Pass |
| #4D404E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.73: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 #4D404E looks to people with the most common types of color vision deficiency.
#3f434fProtanopia
no red cones#42454dDeuteranopia
no green cones#4e4145Tritanopia
no blue cones#444444Achromatopsia
no color vision
CSS examples
.background { background-color: #4d404e; }
.text { color: #4d404e; }
.border { border: 2px solid #4d404e; }
.transparent { background-color: rgb(77 64 78 / 50%); }
.gradient { background: linear-gradient(to right, #4d404e, #4e4048); }
Similar colors
#4f4554Black Magic#403547Royal Decree#413d4bItalian Grape#483c41Pitch Black#443240Voodoo#42364cCall It a Night#484753Gun Powder#393540Professor Plum
Closest common color name: Eggplant.
Questions
- What color is #4D404E?
- #4D404E 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 #4D404E?
- The RGB value is 77, 64, 78: 77 red, 64 green and 78 blue on a 0 to 255 scale.
- What is the complementary color of #4D404E?
- The complementary color is #414E40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D404E?
- White text. Black text has a contrast ratio of 2.16:1 and white text 9.73:1. WCAG asks for at least 4.5:1 for normal text.