#4D424E color
The hex color #4D424E is a dark, grayish magenta.
In the RGB color model it is made of 30.2% red, 25.9% green and 30.6% blue (77, 66, 78).
Its hue angle is 295°, with 8% saturation and 28% lightness. For print, the CMYK equivalent is 1% cyan, 15% magenta, 0% yellow and 69% black.
The closest named color is Black Magic (#4F4554), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.52:1).
#4D424E color codes
| HEX | #4D424E | |
|---|---|---|
| RGB | rgb(77, 66, 78) | |
| RGB percent | rgb(30.2%, 25.9%, 30.6%) | |
| HSL | hsl(295, 8%, 28%) | |
| HSV / HSB | hsv(295, 15%, 31%) | |
| CMYK | cmyk(1%, 15%, 0%, 69%) | |
| CIE LAB | lab(29.47, 7.24, -5.48) | |
| CIE LCH | lch(29.47, 9.08, 322.87) | |
| CIE XYZ | xyz(6.384, 6.024, 8.033) | |
| Decimal | 5063246 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D424E, 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 #4D424E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.2:1 | Fail | Fail | Fail |
| Sample text | 9.52:1 | Pass | Pass | Pass |
| #4D424E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.52:1 | Pass | Pass | Pass |
| Sample text | 2.2: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 #4D424E looks to people with the most common types of color vision deficiency.
#41454fProtanopia
no red cones#43464eDeuteranopia
no green cones#4e4346Tritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #4d424e; }
.text { color: #4d424e; }
.border { border: 2px solid #4d424e; }
.transparent { background-color: rgb(77 66 78 / 50%); }
.gradient { background: linear-gradient(to right, #4d424e, #4e4249); }
Similar colors
#4f4554Black Magic#413d4bItalian Grape#483c41Pitch Black#403547Royal Decree#484753Gun Powder#3f3c43Tuxedo#443240Voodoo#42364cCall It a Night
Closest common color name: Eggplant.
Questions
- What color is #4D424E?
- #4D424E 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 #4D424E?
- The RGB value is 77, 66, 78: 77 red, 66 green and 78 blue on a 0 to 255 scale.
- What is the complementary color of #4D424E?
- The complementary color is #434E42, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D424E?
- White text. Black text has a contrast ratio of 2.2:1 and white text 9.52:1. WCAG asks for at least 4.5:1 for normal text.