#4C404C color
The hex color #4C404C is a dark, grayish magenta.
In the RGB color model it is made of 29.8% red, 25.1% green and 29.8% blue (76, 64, 76).
Its hue angle is 300°, with 9% saturation and 27% lightness. For print, the CMYK equivalent is 0% cyan, 16% magenta, 0% yellow and 70% black.
The closest named color is Black Magic (#4F4554), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.79:1).
#4C404C color codes
| HEX | #4C404C | |
|---|---|---|
| RGB | rgb(76, 64, 76) | |
| RGB percent | rgb(29.8%, 25.1%, 29.8%) | |
| HSL | hsl(300, 9%, 27%) | |
| HSV / HSB | hsv(300, 16%, 30%) | |
| CMYK | cmyk(0%, 16%, 0%, 70%) | |
| CIE LAB | lab(28.71, 7.68, -5.33) | |
| CIE LCH | lch(28.71, 9.35, 325.22) | |
| CIE XYZ | xyz(6.118, 5.725, 7.619) | |
| Decimal | 4997196 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4C404C, 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 #4C404C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.15:1 | Fail | Fail | Fail |
| Sample text | 9.79:1 | Pass | Pass | Pass |
| #4C404C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.79: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 #4C404C looks to people with the most common types of color vision deficiency.
#3f434dProtanopia
no red cones#42444cDeuteranopia
no green cones#4d4144Tritanopia
no blue cones#444444Achromatopsia
no color vision
CSS examples
.background { background-color: #4c404c; }
.text { color: #4c404c; }
.border { border: 2px solid #4c404c; }
.transparent { background-color: rgb(76 64 76 / 50%); }
.gradient { background: linear-gradient(to right, #4c404c, #4c4046); }
Similar colors
#4f4554Black Magic#483c41Pitch Black#413d4bItalian Grape#403547Royal Decree#443240Voodoo#42364cCall It a Night#484753Gun Powder#393540Professor Plum
Closest common color name: Eggplant.
Questions
- What color is #4C404C?
- #4C404C 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 #4C404C?
- The RGB value is 76, 64, 76: 76 red, 64 green and 76 blue on a 0 to 255 scale.
- What is the complementary color of #4C404C?
- The complementary color is #404C40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4C404C?
- White text. Black text has a contrast ratio of 2.15:1 and white text 9.79:1. WCAG asks for at least 4.5:1 for normal text.