#4D1547 color
The hex color #4D1547 is a very dark, moderate magenta.
In the RGB color model it is made of 30.2% red, 8.2% green and 27.8% blue (77, 21, 71).
Its hue angle is 306°, with 57% saturation and 19% lightness. For print, the CMYK equivalent is 0% cyan, 73% magenta, 8% yellow and 70% black.
The closest named color is Velvet Cosmos (#441144), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.87:1).
#4D1547 color codes
| HEX | #4D1547 | |
|---|---|---|
| RGB | rgb(77, 21, 71) | |
| RGB percent | rgb(30.2%, 8.2%, 27.8%) | |
| HSL | hsl(306, 57%, 19%) | |
| HSV / HSB | hsv(306, 73%, 30%) | |
| CMYK | cmyk(0%, 73%, 8%, 70%) | |
| CIE LAB | lab(18.23, 32.88, -18.01) | |
| CIE LCH | lch(18.23, 37.5, 331.29) | |
| CIE XYZ | xyz(4.466, 2.569, 6.221) | |
| Decimal | 5051719 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D1547, 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 #4D1547 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.51:1 | Fail | Fail | Fail |
| Sample text | 13.87:1 | Pass | Pass | Pass |
| #4D1547 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.87:1 | Pass | Pass | Pass |
| Sample text | 1.51: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 #4D1547 looks to people with the most common types of color vision deficiency.
#132748Protanopia
no red cones#262f46Deuteranopia
no green cones#511a2cTritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #4d1547; }
.text { color: #4d1547; }
.border { border: 2px solid #4d1547; }
.transparent { background-color: rgb(77 21 71 / 50%); }
.gradient { background: linear-gradient(to right, #4d1547, #4d152b); }
Similar colors
#441144Velvet Cosmos#581a57Purple Velour#551155Cosmic Explorer#3b193fCreatures of the Night#442244Purple Void#550055Cloak and Dagger#4f284bMurasaki#431c53Plunged Into Darkness
Closest common color name: Byzantium.
Questions
- What color is #4D1547?
- #4D1547 is a very dark, moderate magenta, closest to the named color Velvet Cosmos. It belongs to the purple family of colors.
- What is the RGB value of #4D1547?
- The RGB value is 77, 21, 71: 77 red, 21 green and 71 blue on a 0 to 255 scale.
- What is the complementary color of #4D1547?
- The complementary color is #154D1B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D1547?
- White text. Black text has a contrast ratio of 1.51:1 and white text 13.87:1. WCAG asks for at least 4.5:1 for normal text.