#4D1E56 color
The hex color #4D1E56 is a dark, desaturated magenta.
In the RGB color model it is made of 30.2% red, 11.8% green and 33.7% blue (77, 30, 86).
Its hue angle is 290°, with 48% saturation and 23% lightness. For print, the CMYK equivalent is 10% cyan, 65% magenta, 0% yellow and 66% black.
The closest named color is Wonka Purple (#4A2559), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.84:1).
#4D1E56 color codes
| HEX | #4D1E56 | |
|---|---|---|
| RGB | rgb(77, 30, 86) | |
| RGB percent | rgb(30.2%, 11.8%, 33.7%) | |
| HSL | hsl(290, 48%, 23%) | |
| HSV / HSB | hsv(290, 65%, 34%) | |
| CMYK | cmyk(10%, 65%, 0%, 66%) | |
| CIE LAB | lab(20.74, 31.48, -24.22) | |
| CIE LCH | lch(20.74, 39.72, 322.43) | |
| CIE XYZ | xyz(5.204, 3.178, 9.142) | |
| Decimal | 5054038 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D1E56, 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 #4D1E56 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.64:1 | Fail | Fail | Fail |
| Sample text | 12.84:1 | Pass | Pass | Pass |
| #4D1E56 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.84:1 | Pass | Pass | Pass |
| Sample text | 1.64: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 #4D1E56 looks to people with the most common types of color vision deficiency.
#122f58Protanopia
no red cones#233455Deuteranopia
no green cones#4e2737Tritanopia
no blue cones#323232Achromatopsia
no color vision
CSS examples
.background { background-color: #4d1e56; }
.text { color: #4d1e56; }
.border { border: 2px solid #4d1e56; }
.transparent { background-color: rgb(77 30 86 / 50%); }
.gradient { background: linear-gradient(to right, #4d1e56, #561e43); }
Similar colors
#4a2559Wonka Purple#431c53Plunged Into Darkness#581a57Purple Velour#551155Cosmic Explorer#552367Elegant Purple Gown#48295bAcai#441144Velvet Cosmos#480656Clairvoyant
Closest common color name: Byzantium.
Questions
- What color is #4D1E56?
- #4D1E56 is a dark, desaturated magenta, closest to the named color Wonka Purple. It belongs to the purple family of colors.
- What is the RGB value of #4D1E56?
- The RGB value is 77, 30, 86: 77 red, 30 green and 86 blue on a 0 to 255 scale.
- What is the complementary color of #4D1E56?
- The complementary color is #27561E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D1E56?
- White text. Black text has a contrast ratio of 1.64:1 and white text 12.84:1. WCAG asks for at least 4.5:1 for normal text.