#4D177D color

#4D177D rgb(77, 23, 125)
Shades of purple

The hex color #4D177D is a dark, moderate violet.

In the RGB color model it is made of 30.2% red, 9% green and 49% blue (77, 23, 125).

Its hue angle is 272°, with 69% saturation and 29% lightness. For print, the CMYK equivalent is 38% cyan, 82% magenta, 0% yellow and 51% black.

The closest named color is Occult (#4B1E87), a difference of 2.2 ΔE, a small difference.

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

#4D177D color codes

HEX#4D177D
RGBrgb(77, 23, 125)
RGB percentrgb(30.2%, 9%, 49%)
HSLhsl(272, 69%, 29%)
HSV / HSBhsv(272, 82%, 49%)
CMYKcmyk(38%, 82%, 0%, 51%)
CIE LABlab(22.55, 44.08, -46.71)
CIE LCHlch(22.55, 64.23, 313.34)
CIE XYZxyz(7.068, 3.671, 19.734)
Decimal5052285
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #4D177D, 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 #4D177DRatioAAAAAAA large
Sample text1.73:1FailFailFail
Sample text12.11:1PassPassPass
#4D177D as text onRatioAAAAAAA large
Sample text12.11:1PassPassPass
Sample text1.73: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 #4D177D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #4d177d; }
.text { color: #4d177d; }
.border { border: 2px solid #4d177d; }
.transparent { background-color: rgb(77 23 125 / 50%); }
.gradient { background: linear-gradient(to right, #4d177d, #7d177a); }
Background
Text color
Border

Similar colors

Questions

What color is #4D177D?
#4D177D is a dark, moderate violet, closest to the named color Occult. It belongs to the purple family of colors.
What is the RGB value of #4D177D?
The RGB value is 77, 23, 125: 77 red, 23 green and 125 blue on a 0 to 255 scale.
What is the complementary color of #4D177D?
The complementary color is #477D17, found by rotating the hue 180° on the color wheel.
Is black or white text better on #4D177D?
White text. Black text has a contrast ratio of 1.73:1 and white text 12.11:1. WCAG asks for at least 4.5:1 for normal text.