#4E2157 color
The hex color #4E2157 is a dark, desaturated magenta.
In the RGB color model it is made of 30.6% red, 12.9% green and 34.1% blue (78, 33, 87).
Its hue angle is 290°, with 45% saturation and 24% lightness. For print, the CMYK equivalent is 10% cyan, 62% magenta, 0% yellow and 66% black.
The closest named color is Wonka Purple (#4A2559), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.51:1).
#4E2157 color codes
| HEX | #4E2157 | |
|---|---|---|
| RGB | rgb(78, 33, 87) | |
| RGB percent | rgb(30.6%, 12.9%, 34.1%) | |
| HSL | hsl(290, 45%, 24%) | |
| HSV / HSB | hsv(290, 62%, 34%) | |
| CMYK | cmyk(10%, 62%, 0%, 66%) | |
| CIE LAB | lab(21.56, 30.37, -23.58) | |
| CIE LCH | lch(21.56, 38.45, 322.17) | |
| CIE XYZ | xyz(5.406, 3.396, 9.386) | |
| Decimal | 5120343 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4E2157, 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 #4E2157 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.68:1 | Fail | Fail | Fail |
| Sample text | 12.51:1 | Pass | Pass | Pass |
| #4E2157 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.51:1 | Pass | Pass | Pass |
| Sample text | 1.68: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 #4E2157 looks to people with the most common types of color vision deficiency.
#163159Protanopia
no red cones#263556Deuteranopia
no green cones#4f2938Tritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #4e2157; }
.text { color: #4e2157; }
.border { border: 2px solid #4e2157; }
.transparent { background-color: rgb(78 33 87 / 50%); }
.gradient { background: linear-gradient(to right, #4e2157, #572145); }
Similar colors
#4a2559Wonka Purple#431c53Plunged Into Darkness#581a57Purple Velour#48295bAcai#552367Elegant Purple Gown#551155Cosmic Explorer#441144Velvet Cosmos#5b3167Imperial Purple
Closest common color name: Byzantium.
Questions
- What color is #4E2157?
- #4E2157 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 #4E2157?
- The RGB value is 78, 33, 87: 78 red, 33 green and 87 blue on a 0 to 255 scale.
- What is the complementary color of #4E2157?
- The complementary color is #2A5721, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4E2157?
- White text. Black text has a contrast ratio of 1.68:1 and white text 12.51:1. WCAG asks for at least 4.5:1 for normal text.