#4D414F color
The hex color #4D414F is a dark, grayish magenta.
In the RGB color model it is made of 30.2% red, 25.5% green and 31% blue (77, 65, 79).
Its hue angle is 291°, with 10% saturation and 28% lightness. For print, the CMYK equivalent is 3% cyan, 18% magenta, 0% yellow and 69% black.
The closest named color is Black Magic (#4F4554), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.61:1).
#4D414F color codes
| HEX | #4D414F | |
|---|---|---|
| RGB | rgb(77, 65, 79) | |
| RGB percent | rgb(30.2%, 25.5%, 31%) | |
| HSL | hsl(291, 10%, 28%) | |
| HSV / HSB | hsv(291, 18%, 31%) | |
| CMYK | cmyk(3%, 18%, 0%, 69%) | |
| CIE LAB | lab(29.22, 8.11, -6.51) | |
| CIE LCH | lch(29.22, 10.4, 321.24) | |
| CIE XYZ | xyz(6.362, 5.923, 8.204) | |
| Decimal | 5062991 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D414F, 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 #4D414F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.18:1 | Fail | Fail | Fail |
| Sample text | 9.61:1 | Pass | Pass | Pass |
| #4D414F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.61:1 | Pass | Pass | Pass |
| Sample text | 2.18: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 #4D414F looks to people with the most common types of color vision deficiency.
#404450Protanopia
no red cones#42454eDeuteranopia
no green cones#4d4246Tritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #4d414f; }
.text { color: #4d414f; }
.border { border: 2px solid #4d414f; }
.transparent { background-color: rgb(77 65 79 / 50%); }
.gradient { background: linear-gradient(to right, #4d414f, #4f414a); }
Similar colors
#4f4554Black Magic#413d4bItalian Grape#403547Royal Decree#483c41Pitch Black#42364cCall It a Night#443240Voodoo#484753Gun Powder#393540Professor Plum
Closest common color name: Eggplant.
Questions
- What color is #4D414F?
- #4D414F 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 #4D414F?
- The RGB value is 77, 65, 79: 77 red, 65 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of #4D414F?
- The complementary color is #434F41, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D414F?
- White text. Black text has a contrast ratio of 2.18:1 and white text 9.61:1. WCAG asks for at least 4.5:1 for normal text.