#4D3158 color
The hex color #4D3158 is a dark, desaturated magenta.
In the RGB color model it is made of 30.2% red, 19.2% green and 34.5% blue (77, 49, 88).
Its hue angle is 283°, with 28% saturation and 27% lightness. For print, the CMYK equivalent is 12% cyan, 44% magenta, 0% yellow and 65% black.
The closest named color is Royal Crown (#4F325E), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.08:1).
#4D3158 color codes
| HEX | #4D3158 | |
|---|---|---|
| RGB | rgb(77, 49, 88) | |
| RGB percent | rgb(30.2%, 19.2%, 34.5%) | |
| HSL | hsl(283, 28%, 27%) | |
| HSV / HSB | hsv(283, 44%, 35%) | |
| CMYK | cmyk(12%, 44%, 0%, 65%) | |
| CIE LAB | lab(25.2, 20.63, -18.55) | |
| CIE LCH | lch(25.2, 27.74, 318.04) | |
| CIE XYZ | xyz(5.92, 4.479, 9.783) | |
| Decimal | 5058904 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D3158, 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 #4D3158 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.9:1 | Fail | Fail | Fail |
| Sample text | 11.08:1 | Pass | Pass | Pass |
| #4D3158 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.08:1 | Pass | Pass | Pass |
| Sample text | 1.9: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 #4D3158 looks to people with the most common types of color vision deficiency.
#2a3a59Protanopia
no red cones#323d57Deuteranopia
no green cones#4d3640Tritanopia
no blue cones#3c3c3cAchromatopsia
no color vision
CSS examples
.background { background-color: #4d3158; }
.text { color: #4d3158; }
.border { border: 2px solid #4d3158; }
.transparent { background-color: rgb(77 49 88 / 50%); }
.gradient { background: linear-gradient(to right, #4d3158, #58314f); }
Similar colors
#4f325eRoyal Crown#543254Purple Prose#5b365eLong Passionate Night#48295bAcai#4e334eShadow Purple#593569Purple Protégé#4f284bMurasaki#4a2559Wonka Purple
Closest common color name: Byzantium.
Questions
- What color is #4D3158?
- #4D3158 is a dark, desaturated magenta, closest to the named color Royal Crown. It belongs to the purple family of colors.
- What is the RGB value of #4D3158?
- The RGB value is 77, 49, 88: 77 red, 49 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of #4D3158?
- The complementary color is #3C5831, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D3158?
- White text. Black text has a contrast ratio of 1.9:1 and white text 11.08:1. WCAG asks for at least 4.5:1 for normal text.