#4F404D color
The hex color #4F404D is a dark, grayish magenta.
In the RGB color model it is made of 31% red, 25.1% green and 30.2% blue (79, 64, 77).
Its hue angle is 308°, with 10% saturation and 28% lightness. For print, the CMYK equivalent is 0% cyan, 19% magenta, 3% yellow and 69% 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.66:1).
#4F404D color codes
| HEX | #4F404D | |
|---|---|---|
| RGB | rgb(79, 64, 77) | |
| RGB percent | rgb(31%, 25.1%, 30.2%) | |
| HSL | hsl(308, 10%, 28%) | |
| HSV / HSB | hsv(308, 19%, 31%) | |
| CMYK | cmyk(0%, 19%, 3%, 69%) | |
| CIE LAB | lab(29.07, 9.12, -5.41) | |
| CIE LCH | lch(29.07, 10.61, 329.33) | |
| CIE XYZ | xyz(6.397, 5.865, 7.815) | |
| Decimal | 5193805 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4F404D, 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 #4F404D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.17:1 | Fail | Fail | Fail |
| Sample text | 9.66:1 | Pass | Pass | Pass |
| #4F404D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.66:1 | Pass | Pass | Pass |
| Sample text | 2.17: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 #4F404D looks to people with the most common types of color vision deficiency.
#40434eProtanopia
no red cones#43454cDeuteranopia
no green cones#504144Tritanopia
no blue cones#444444Achromatopsia
no color vision
CSS examples
.background { background-color: #4f404d; }
.text { color: #4f404d; }
.border { border: 2px solid #4f404d; }
.transparent { background-color: rgb(79 64 77 / 50%); }
.gradient { background: linear-gradient(to right, #4f404d, #4f4046); }
Similar colors
#4f4554Black Magic#483c41Pitch Black#443240Voodoo#403547Royal Decree#42364cCall It a Night#413d4bItalian Grape#4b373aVibrant Vine#41373aVoid Wellness Coach
Closest common color name: Eggplant.
Questions
- What color is #4F404D?
- #4F404D 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 #4F404D?
- The RGB value is 79, 64, 77: 79 red, 64 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #4F404D?
- The complementary color is #404F42, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4F404D?
- White text. Black text has a contrast ratio of 2.17:1 and white text 9.66:1. WCAG asks for at least 4.5:1 for normal text.