#4D337E color

#4D337E rgb(77, 51, 126)
Shades of purple

The hex color #4D337E is a dark, desaturated violet.

In the RGB color model it is made of 30.2% red, 20% green and 49.4% blue (77, 51, 126).

Its hue angle is 261°, with 42% saturation and 35% lightness. For print, the CMYK equivalent is 39% cyan, 60% magenta, 0% yellow and 51% black.

The closest named color is Galactic Compass (#48357B), a difference of 1.5 ΔE, which is barely visible.

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

#4D337E color codes

HEX#4D337E
RGBrgb(77, 51, 126)
RGB percentrgb(30.2%, 20%, 49.4%)
HSLhsl(261, 42%, 35%)
HSV / HSBhsv(261, 60%, 49%)
CMYKcmyk(39%, 60%, 0%, 51%)
CIE LABlab(27.98, 29.62, -38.54)
CIE LCHlch(27.98, 48.61, 307.54)
CIE XYZxyz(8.009, 5.452, 20.365)
Decimal5059454
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #4D337E, 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 #4D337ERatioAAAAAAA large
Sample text2.09:1FailFailFail
Sample text10.05:1PassPassPass
#4D337E as text onRatioAAAAAAA large
Sample text10.05:1PassPassPass
Sample text2.09: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 #4D337E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #4d337e; }
.text { color: #4d337e; }
.border { border: 2px solid #4d337e; }
.transparent { background-color: rgb(77 51 126 / 50%); }
.gradient { background: linear-gradient(to right, #4d337e, #72337e); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #4D337E?
#4D337E is a dark, desaturated violet, closest to the named color Galactic Compass. It belongs to the purple family of colors.
What is the RGB value of #4D337E?
The RGB value is 77, 51, 126: 77 red, 51 green and 126 blue on a 0 to 255 scale.
What is the complementary color of #4D337E?
The complementary color is #647E33, found by rotating the hue 180° on the color wheel.
Is black or white text better on #4D337E?
White text. Black text has a contrast ratio of 2.09:1 and white text 10.05:1. WCAG asks for at least 4.5:1 for normal text.