#4D404B color

#4D404B rgb(77, 64, 75)
Shades of gray

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
RGBrgb(77, 64, 75)
RGB percentrgb(30.2%, 25.1%, 29.4%)
HSLhsl(309, 9%, 28%)
HSV / HSBhsv(309, 17%, 30%)
CMYKcmyk(0%, 17%, 3%, 70%)
CIE LABlab(28.78, 7.87, -4.56)
CIE LCHlch(28.78, 9.09, 329.89)
CIE XYZxyz(6.164, 5.753, 7.441)
Decimal5062731
Short hexNone (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 #4D404BRatioAAAAAAA large
Sample text2.15:1FailFailFail
Sample text9.77:1PassPassPass
#4D404B as text onRatioAAAAAAA large
Sample text9.77:1PassPassPass
Sample text2.15:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.