#401E3B color
The hex color #401E3B is a very dark, desaturated magenta.
In the RGB color model it is made of 25.1% red, 11.8% green and 23.1% blue (64, 30, 59).
Its hue angle is 309°, with 36% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 53% magenta, 8% yellow and 75% black.
The closest named color is Purple Void (#442244), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.32:1).
#401E3B color codes
| HEX | #401E3B | |
|---|---|---|
| RGB | rgb(64, 30, 59) | |
| RGB percent | rgb(25.1%, 11.8%, 23.1%) | |
| HSL | hsl(309, 36%, 18%) | |
| HSV / HSB | hsv(309, 53%, 25%) | |
| CMYK | cmyk(0%, 53%, 8%, 75%) | |
| CIE LAB | lab(17.15, 21.33, -11.52) | |
| CIE LCH | lch(17.15, 24.24, 331.62) | |
| CIE XYZ | xyz(3.368, 2.335, 4.41) | |
| Decimal | 4202043 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #401E3B, 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 #401E3B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.47:1 | Fail | Fail | Fail |
| Sample text | 14.32:1 | Pass | Pass | Pass |
| #401E3B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.32:1 | Pass | Pass | Pass |
| Sample text | 1.47: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 #401E3B looks to people with the most common types of color vision deficiency.
#1d273cProtanopia
no red cones#272c3aDeuteranopia
no green cones#432029Tritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
CSS examples
.background { background-color: #401e3b; }
.text { color: #401e3b; }
.border { border: 2px solid #401e3b; }
.transparent { background-color: rgb(64 30 59 / 50%); }
.gradient { background: linear-gradient(to right, #401e3b, #401e2a); }
Similar colors
#442244Purple Void#391531Nightly Voyager#3b193fCreatures of the Night#301934Dark Purple#4f284bMurasaki#43182fBlackberry#2b0f2eDark Prom Queen#441144Velvet Cosmos
Questions
- What color is #401E3B?
- #401E3B is a very dark, desaturated magenta, closest to the named color Purple Void. It belongs to the purple family of colors.
- What is the RGB value of #401E3B?
- The RGB value is 64, 30, 59: 64 red, 30 green and 59 blue on a 0 to 255 scale.
- What is the complementary color of #401E3B?
- The complementary color is #1E4023, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #401E3B?
- White text. Black text has a contrast ratio of 1.47:1 and white text 14.32:1. WCAG asks for at least 4.5:1 for normal text.