#401142 color
The hex color #401142 is a very dark, moderate magenta.
In the RGB color model it is made of 25.1% red, 6.7% green and 25.9% blue (64, 17, 66).
Its hue angle is 298°, with 59% saturation and 16% lightness. For print, the CMYK equivalent is 3% cyan, 74% magenta, 0% yellow and 74% black.
The closest named color is Velvet Cosmos (#441144), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.25:1).
#401142 color codes
| HEX | #401142 | |
|---|---|---|
| RGB | rgb(64, 17, 66) | |
| RGB percent | rgb(25.1%, 6.7%, 25.9%) | |
| HSL | hsl(298, 59%, 16%) | |
| HSV / HSB | hsv(298, 74%, 26%) | |
| CMYK | cmyk(3%, 74%, 0%, 74%) | |
| CIE LAB | lab(14.87, 30.03, -20) | |
| CIE LCH | lch(14.87, 36.08, 326.34) | |
| CIE XYZ | xyz(3.298, 1.884, 5.343) | |
| Decimal | 4198722 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #401142, 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 #401142 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.25:1 | Pass | Pass | Pass |
| #401142 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.25:1 | Pass | Pass | Pass |
| Sample text | 1.38: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 #401142 looks to people with the most common types of color vision deficiency.
#082243Protanopia
no red cones#1b2741Deuteranopia
no green cones#421827Tritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #401142; }
.text { color: #401142; }
.border { border: 2px solid #401142; }
.transparent { background-color: rgb(64 17 66 / 50%); }
.gradient { background: linear-gradient(to right, #401142, #42112c); }
Similar colors
#441144Velvet Cosmos#3b193fCreatures of the Night#3b0346Romanic Scene#431c53Plunged Into Darkness#442244Purple Void#551155Cosmic Explorer#480656Clairvoyant#581a57Purple Velour
Closest common color name: Dark Purple.
Questions
- What color is #401142?
- #401142 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 #401142?
- The RGB value is 64, 17, 66: 64 red, 17 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #401142?
- The complementary color is #134211, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #401142?
- White text. Black text has a contrast ratio of 1.38:1 and white text 15.25:1. WCAG asks for at least 4.5:1 for normal text.