#401372 color
The hex color #401372 is a dark, moderate violet.
In the RGB color model it is made of 25.1% red, 7.5% green and 44.7% blue (64, 19, 114).
Its hue angle is 268°, with 71% saturation and 26% lightness. For print, the CMYK equivalent is 44% cyan, 83% magenta, 0% yellow and 55% black.
The closest named color is Explorer of the Galaxies (#3A1F76), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.51:1).
#401372 color codes
| HEX | #401372 | |
|---|---|---|
| RGB | rgb(64, 19, 114) | |
| RGB percent | rgb(25.1%, 7.5%, 44.7%) | |
| HSL | hsl(268, 71%, 26%) | |
| HSV / HSB | hsv(268, 83%, 45%) | |
| CMYK | cmyk(44%, 83%, 0%, 55%) | |
| CIE LAB | lab(19.1, 40.73, -45.39) | |
| CIE LCH | lch(19.1, 60.98, 311.9) | |
| CIE XYZ | xyz(5.384, 2.771, 16.167) | |
| Decimal | 4199282 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #401372, 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 #401372 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.55:1 | Fail | Fail | Fail |
| Sample text | 13.51:1 | Pass | Pass | Pass |
| #401372 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.51:1 | Pass | Pass | Pass |
| Sample text | 1.55: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 #401372 looks to people with the most common types of color vision deficiency.
#002e75Protanopia
no red cones#002d70Deuteranopia
no green cones#342e43Tritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #401372; }
.text { color: #401372; }
.border { border: 2px solid #401372; }
.transparent { background-color: rgb(64 19 114 / 50%); }
.gradient { background: linear-gradient(to right, #401372, #701372); }
Similar colors
#3a1f76Explorer of the Galaxies#2f1064Infinite Inkwell#4b0082Indigo#4b0183Indigo Static#330077Galactic Federation#4b1e87Occult#37115cWicked Purple#2d135fVoldemort
Questions
- What color is #401372?
- #401372 is a dark, moderate violet, closest to the named color Explorer of the Galaxies. It belongs to the purple family of colors.
- What is the RGB value of #401372?
- The RGB value is 64, 19, 114: 64 red, 19 green and 114 blue on a 0 to 255 scale.
- What is the complementary color of #401372?
- The complementary color is #457213, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #401372?
- White text. Black text has a contrast ratio of 1.55:1 and white text 13.51:1. WCAG asks for at least 4.5:1 for normal text.