#4D2188 color
The hex color #4D2188 is a dark, moderate violet.
In the RGB color model it is made of 30.2% red, 12.9% green and 53.3% blue (77, 33, 136).
Its hue angle is 266°, with 61% saturation and 33% lightness. For print, the CMYK equivalent is 43% cyan, 76% magenta, 0% yellow and 47% black.
The closest named color is Occult (#4B1E87), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.12:1).
#4D2188 color codes
| HEX | #4D2188 | |
|---|---|---|
| RGB | rgb(77, 33, 136) | |
| RGB percent | rgb(30.2%, 12.9%, 53.3%) | |
| HSL | hsl(266, 61%, 33%) | |
| HSV / HSB | hsv(266, 76%, 53%) | |
| CMYK | cmyk(43%, 76%, 0%, 47%) | |
| CIE LAB | lab(25.08, 42.46, -49.51) | |
| CIE LCH | lch(25.08, 65.22, 310.62) | |
| CIE XYZ | xyz(8.047, 4.443, 23.721) | |
| Decimal | 5054856 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D2188, 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 #4D2188 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.89:1 | Fail | Fail | Fail |
| Sample text | 11.12:1 | Pass | Pass | Pass |
| #4D2188 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.12:1 | Pass | Pass | Pass |
| Sample text | 1.89: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 #4D2188 looks to people with the most common types of color vision deficiency.
#003c8bProtanopia
no red cones#003a86Deuteranopia
no green cones#3e3c53Tritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #4d2188; }
.text { color: #4d2188; }
.border { border: 2px solid #4d2188; }
.transparent { background-color: rgb(77 33 136 / 50%); }
.gradient { background: linear-gradient(to right, #4d2188, #802188); }
Similar colors
#4b1e87Occult#442288Galactic Civilization#5b1e8bIntergalactic Settlement#572e89Night Fever#3a1f76Explorer of the Galaxies#5c2e88Purple Patch#472e97Galactic Purple#4b0183Indigo Static
Closest common color name: Indigo.
Questions
- What color is #4D2188?
- #4D2188 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 #4D2188?
- The RGB value is 77, 33, 136: 77 red, 33 green and 136 blue on a 0 to 255 scale.
- What is the complementary color of #4D2188?
- The complementary color is #5C8821, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D2188?
- White text. Black text has a contrast ratio of 1.89:1 and white text 11.12:1. WCAG asks for at least 4.5:1 for normal text.