#4D4159 color

#4D4159 rgb(77, 65, 89)
Shades of purple

The hex color #4D4159 is a dark, grayish violet.

In the RGB color model it is made of 30.2% red, 25.5% green and 34.9% blue (77, 65, 89).

Its hue angle is 270°, with 16% saturation and 30% lightness. For print, the CMYK equivalent is 13% cyan, 27% magenta, 0% yellow and 65% black.

The closest named color is Nightly Walk (#544563), a difference of 2.9 ΔE, a small difference.

White text is the more readable choice on this background (contrast 9.48:1).

#4D4159 color codes

HEX#4D4159
RGBrgb(77, 65, 89)
RGB percentrgb(30.2%, 25.5%, 34.9%)
HSLhsl(270, 16%, 30%)
HSV / HSBhsv(270, 27%, 35%)
CMYKcmyk(13%, 27%, 0%, 65%)
CIE LABlab(29.61, 10.49, -12.39)
CIE LCHlch(29.61, 16.23, 310.25)
CIE XYZxyz(6.754, 6.08, 10.267)
Decimal5063001
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #4D4159, 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 #4D4159RatioAAAAAAA large
Sample text2.22:1FailFailFail
Sample text9.48:1PassPassPass
#4D4159 as text onRatioAAAAAAA large
Sample text9.48:1PassPassPass
Sample text2.22: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 #4D4159 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #4d4159; }
.text { color: #4d4159; }
.border { border: 2px solid #4d4159; }
.transparent { background-color: rgb(77 65 89 / 50%); }
.gradient { background: linear-gradient(to right, #4d4159, #594159); }
Background
Text color
Border

Similar colors

Closest common color name: Eggplant.

Questions

What color is #4D4159?
#4D4159 is a dark, grayish violet, closest to the named color Nightly Walk. It belongs to the purple family of colors.
What is the RGB value of #4D4159?
The RGB value is 77, 65, 89: 77 red, 65 green and 89 blue on a 0 to 255 scale.
What is the complementary color of #4D4159?
The complementary color is #4D5941, found by rotating the hue 180° on the color wheel.
Is black or white text better on #4D4159?
White text. Black text has a contrast ratio of 2.22:1 and white text 9.48:1. WCAG asks for at least 4.5:1 for normal text.