#4D177D color
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 | |
|---|---|---|
| RGB | rgb(77, 23, 125) | |
| RGB percent | rgb(30.2%, 9%, 49%) | |
| HSL | hsl(272, 69%, 29%) | |
| HSV / HSB | hsv(272, 82%, 49%) | |
| CMYK | cmyk(38%, 82%, 0%, 51%) | |
| CIE LAB | lab(22.55, 44.08, -46.71) | |
| CIE LCH | lch(22.55, 64.23, 313.34) | |
| CIE XYZ | xyz(7.068, 3.671, 19.734) | |
| Decimal | 5052285 | |
| Short hex | None (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 #4D177D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.73:1 | Fail | Fail | Fail |
| Sample text | 12.11:1 | Pass | Pass | Pass |
| #4D177D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.11:1 | Pass | Pass | Pass |
| Sample text | 1.73: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 #4D177D looks to people with the most common types of color vision deficiency.
#003580Protanopia
no red cones#00367bDeuteranopia
no green cones#43324aTritanopia
no blue cones#363636Achromatopsia
no color vision
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); }
Similar colors
#4b1e87Occult#4b0183Indigo Static#4b0082Indigo#5b1e8bIntergalactic Settlement#442288Galactic Civilization#540d6eVelvet Vortex#3a1f76Explorer of the Galaxies#661188Extraviolet
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.