#4E1A45 color
The hex color #4E1A45 is a dark, moderate magenta.
In the RGB color model it is made of 30.6% red, 10.2% green and 27.1% blue (78, 26, 69).
Its hue angle is 310°, with 50% saturation and 20% lightness. For print, the CMYK equivalent is 0% cyan, 67% magenta, 12% yellow and 69% black.
The closest named color is Velvet Cosmos (#441144), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.48:1).
#4E1A45 color codes
| HEX | #4E1A45 | |
|---|---|---|
| RGB | rgb(78, 26, 69) | |
| RGB percent | rgb(30.6%, 10.2%, 27.1%) | |
| HSL | hsl(310, 50%, 20%) | |
| HSV / HSB | hsv(310, 67%, 31%) | |
| CMYK | cmyk(0%, 67%, 12%, 69%) | |
| CIE LAB | lab(19.18, 30.4, -15.14) | |
| CIE LCH | lch(19.18, 33.96, 333.52) | |
| CIE XYZ | xyz(4.585, 2.789, 5.926) | |
| Decimal | 5118533 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4E1A45, 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 #4E1A45 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.56:1 | Fail | Fail | Fail |
| Sample text | 13.48:1 | Pass | Pass | Pass |
| #4E1A45 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.48:1 | Pass | Pass | Pass |
| Sample text | 1.56: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 #4E1A45 looks to people with the most common types of color vision deficiency.
#1a2a46Protanopia
no red cones#2a3144Deuteranopia
no green cones#521d2cTritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #4e1a45; }
.text { color: #4e1a45; }
.border { border: 2px solid #4e1a45; }
.transparent { background-color: rgb(78 26 69 / 50%); }
.gradient { background: linear-gradient(to right, #4e1a45, #4e1a2b); }
Similar colors
#441144Velvet Cosmos#4f284bMurasaki#442244Purple Void#581a57Purple Velour#3b193fCreatures of the Night#551155Cosmic Explorer#391531Nightly Voyager#431c53Plunged Into Darkness
Closest common color name: Tyrian Purple.
Questions
- What color is #4E1A45?
- #4E1A45 is a dark, moderate magenta, closest to the named color Velvet Cosmos. It belongs to the purple family of colors.
- What is the RGB value of #4E1A45?
- The RGB value is 78, 26, 69: 78 red, 26 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #4E1A45?
- The complementary color is #1A4E23, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4E1A45?
- White text. Black text has a contrast ratio of 1.56:1 and white text 13.48:1. WCAG asks for at least 4.5:1 for normal text.