#4D2854 color
The hex color #4D2854 is a dark, desaturated magenta.
In the RGB color model it is made of 30.2% red, 15.7% green and 32.9% blue (77, 40, 84).
Its hue angle is 290°, with 35% saturation and 24% lightness. For print, the CMYK equivalent is 8% cyan, 52% magenta, 0% yellow and 67% black.
The closest named color is Wonka Purple (#4A2559), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.02:1).
#4D2854 color codes
| HEX | #4D2854 | |
|---|---|---|
| RGB | rgb(77, 40, 84) | |
| RGB percent | rgb(30.2%, 15.7%, 32.9%) | |
| HSL | hsl(290, 35%, 24%) | |
| HSV / HSB | hsv(290, 52%, 33%) | |
| CMYK | cmyk(8%, 52%, 0%, 67%) | |
| CIE LAB | lab(22.78, 25.3, -19.68) | |
| CIE LCH | lch(22.78, 32.06, 322.12) | |
| CIE XYZ | xyz(5.419, 3.736, 8.821) | |
| Decimal | 5056596 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D2854, 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 #4D2854 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.75:1 | Fail | Fail | Fail |
| Sample text | 12.02:1 | Pass | Pass | Pass |
| #4D2854 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.02:1 | Pass | Pass | Pass |
| Sample text | 1.75: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 #4D2854 looks to people with the most common types of color vision deficiency.
#213456Protanopia
no red cones#2c3853Deuteranopia
no green cones#4e2e3aTritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #4d2854; }
.text { color: #4d2854; }
.border { border: 2px solid #4d2854; }
.transparent { background-color: rgb(77 40 84 / 50%); }
.gradient { background: linear-gradient(to right, #4d2854, #542845); }
Similar colors
#4a2559Wonka Purple#48295bAcai#4f284bMurasaki#4f325eRoyal Crown#442244Purple Void#543254Purple Prose#431c53Plunged Into Darkness#5b3167Imperial Purple
Closest common color name: Byzantium.
Questions
- What color is #4D2854?
- #4D2854 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 #4D2854?
- The RGB value is 77, 40, 84: 77 red, 40 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #4D2854?
- The complementary color is #2F5428, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D2854?
- White text. Black text has a contrast ratio of 1.75:1 and white text 12.02:1. WCAG asks for at least 4.5:1 for normal text.