#3E1C40 color
The hex color #3E1C40 is a very dark, desaturated magenta.
In the RGB color model it is made of 24.3% red, 11% green and 25.1% blue (62, 28, 64).
Its hue angle is 297°, with 39% saturation and 18% lightness. For print, the CMYK equivalent is 3% cyan, 56% magenta, 0% yellow and 75% black.
The closest named color is Creatures of the Night (#3B193F), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.53:1).
#3E1C40 color codes
| HEX | #3E1C40 | |
|---|---|---|
| RGB | rgb(62, 28, 64) | |
| RGB percent | rgb(24.3%, 11%, 25.1%) | |
| HSL | hsl(297, 39%, 18%) | |
| HSV / HSB | hsv(297, 56%, 25%) | |
| CMYK | cmyk(3%, 56%, 0%, 75%) | |
| CIE LAB | lab(16.63, 22.93, -15.86) | |
| CIE LCH | lch(16.63, 27.88, 325.33) | |
| CIE XYZ | xyz(3.327, 2.225, 5.104) | |
| Decimal | 4070464 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3E1C40, 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 #3E1C40 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.44:1 | Fail | Fail | Fail |
| Sample text | 14.53:1 | Pass | Pass | Pass |
| #3E1C40 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.53:1 | Pass | Pass | Pass |
| Sample text | 1.44: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 #3E1C40 looks to people with the most common types of color vision deficiency.
#182641Protanopia
no red cones#222b3fDeuteranopia
no green cones#3f202bTritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #3e1c40; }
.text { color: #3e1c40; }
.border { border: 2px solid #3e1c40; }
.transparent { background-color: rgb(62 28 64 / 50%); }
.gradient { background: linear-gradient(to right, #3e1c40, #401c30); }
Similar colors
#3b193fCreatures of the Night#442244Purple Void#391531Nightly Voyager#441144Velvet Cosmos#301934Dark Purple#4f284bMurasaki#2b0f2eDark Prom Queen#431c53Plunged Into Darkness
Questions
- What color is #3E1C40?
- #3E1C40 is a very 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 #3E1C40?
- The RGB value is 62, 28, 64: 62 red, 28 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #3E1C40?
- The complementary color is #1E401C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3E1C40?
- White text. Black text has a contrast ratio of 1.44:1 and white text 14.53:1. WCAG asks for at least 4.5:1 for normal text.