#4D404B color
The hex color #4D404B is a dark, grayish magenta.
In the RGB color model it is made of 30.2% red, 25.1% green and 29.4% blue (77, 64, 75).
Its hue angle is 309°, with 9% saturation and 28% lightness. For print, the CMYK equivalent is 0% cyan, 17% magenta, 3% yellow and 70% black.
The closest named color is Black Magic (#4F4554), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.77:1).
#4D404B color codes
| HEX | #4D404B | |
|---|---|---|
| RGB | rgb(77, 64, 75) | |
| RGB percent | rgb(30.2%, 25.1%, 29.4%) | |
| HSL | hsl(309, 9%, 28%) | |
| HSV / HSB | hsv(309, 17%, 30%) | |
| CMYK | cmyk(0%, 17%, 3%, 70%) | |
| CIE LAB | lab(28.78, 7.87, -4.56) | |
| CIE LCH | lch(28.78, 9.09, 329.89) | |
| CIE XYZ | xyz(6.164, 5.753, 7.441) | |
| Decimal | 5062731 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D404B, 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 #4D404B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.15:1 | Fail | Fail | Fail |
| Sample text | 9.77:1 | Pass | Pass | Pass |
| #4D404B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.77:1 | Pass | Pass | Pass |
| Sample text | 2.15: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 #4D404B looks to people with the most common types of color vision deficiency.
#40434bProtanopia
no red cones#43444bDeuteranopia
no green cones#4e4144Tritanopia
no blue cones#444444Achromatopsia
no color vision
CSS examples
.background { background-color: #4d404b; }
.text { color: #4d404b; }
.border { border: 2px solid #4d404b; }
.transparent { background-color: rgb(77 64 75 / 50%); }
.gradient { background: linear-gradient(to right, #4d404b, #4d4045); }
Similar colors
#4f4554Black Magic#483c41Pitch Black#413d4bItalian Grape#443240Voodoo#403547Royal Decree#41373aVoid Wellness Coach#4b373aVibrant Vine#42364cCall It a Night
Closest common color name: Eggplant.
Questions
- What color is #4D404B?
- #4D404B 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 #4D404B?
- The RGB value is 77, 64, 75: 77 red, 64 green and 75 blue on a 0 to 255 scale.
- What is the complementary color of #4D404B?
- The complementary color is #404D42, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D404B?
- White text. Black text has a contrast ratio of 2.15:1 and white text 9.77:1. WCAG asks for at least 4.5:1 for normal text.