#401E48 color
The hex color #401E48 is a dark, desaturated magenta.
In the RGB color model it is made of 25.1% red, 11.8% green and 28.2% blue (64, 30, 72).
Its hue angle is 289°, with 41% saturation and 20% lightness. For print, the CMYK equivalent is 11% cyan, 58% magenta, 0% yellow and 72% black.
The closest named color is Creatures of the Night (#3B193F), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.03:1).
#401E48 color codes
| HEX | #401E48 | |
|---|---|---|
| RGB | rgb(64, 30, 72) | |
| RGB percent | rgb(25.1%, 11.8%, 28.2%) | |
| HSL | hsl(289, 41%, 20%) | |
| HSV / HSB | hsv(289, 58%, 28%) | |
| CMYK | cmyk(11%, 58%, 0%, 72%) | |
| CIE LAB | lab(17.86, 24.25, -19.44) | |
| CIE LCH | lch(17.86, 31.08, 321.29) | |
| CIE XYZ | xyz(3.748, 2.487, 6.412) | |
| Decimal | 4202056 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #401E48, 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 #401E48 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.5:1 | Fail | Fail | Fail |
| Sample text | 14.03:1 | Pass | Pass | Pass |
| #401E48 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.03:1 | Pass | Pass | Pass |
| Sample text | 1.5: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 #401E48 looks to people with the most common types of color vision deficiency.
#162949Protanopia
no red cones#212d47Deuteranopia
no green cones#40242fTritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #401e48; }
.text { color: #401e48; }
.border { border: 2px solid #401e48; }
.transparent { background-color: rgb(64 30 72 / 50%); }
.gradient { background: linear-gradient(to right, #401e48, #481e3b); }
Similar colors
#3b193fCreatures of the Night#442244Purple Void#431c53Plunged Into Darkness#441144Velvet Cosmos#4a2559Wonka Purple#48295bAcai#4f284bMurasaki#372354Stormy Night
Closest common color name: Dark Purple.
Questions
- What color is #401E48?
- #401E48 is a dark, desaturated magenta, closest to the named color Creatures of the Night. It belongs to the purple family of colors.
- What is the RGB value of #401E48?
- The RGB value is 64, 30, 72: 64 red, 30 green and 72 blue on a 0 to 255 scale.
- What is the complementary color of #401E48?
- The complementary color is #26481E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #401E48?
- White text. Black text has a contrast ratio of 1.5:1 and white text 14.03:1. WCAG asks for at least 4.5:1 for normal text.