#402937 color
The hex color #402937 is a dark, grayish rose.
In the RGB color model it is made of 25.1% red, 16.1% green and 21.6% blue (64, 41, 55).
Its hue angle is 323°, with 22% saturation and 21% lightness. For print, the CMYK equivalent is 0% cyan, 36% magenta, 14% yellow and 75% black.
The closest named color is Voodoo (#443240), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.2:1).
#402937 color codes
| HEX | #402937 | |
|---|---|---|
| RGB | rgb(64, 41, 55) | |
| RGB percent | rgb(25.1%, 16.1%, 21.6%) | |
| HSL | hsl(323, 22%, 21%) | |
| HSV / HSB | hsv(323, 36%, 25%) | |
| CMYK | cmyk(0%, 36%, 14%, 75%) | |
| CIE LAB | lab(19.85, 13.34, -4.64) | |
| CIE LCH | lch(19.85, 14.13, 340.81) | |
| CIE XYZ | xyz(3.597, 2.952, 3.994) | |
| Decimal | 4204855 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #402937, 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 #402937 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.59:1 | Fail | Fail | Fail |
| Sample text | 13.2:1 | Pass | Pass | Pass |
| #402937 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.2:1 | Pass | Pass | Pass |
| Sample text | 1.59: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 #402937 looks to people with the most common types of color vision deficiency.
#2a2e38Protanopia
no red cones#303136Deuteranopia
no green cones#43292eTritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #402937; }
.text { color: #402937; }
.border { border: 2px solid #402937; }
.transparent { background-color: rgb(64 41 55 / 50%); }
.gradient { background: linear-gradient(to right, #402937, #40292b); }
Similar colors
#443240Voodoo#492a34Wine Tasting#44232fCastro#342931Melanzane#372528Aubergine#403547Royal Decree#4e334eShadow Purple#2c1620Black Cherry
Closest common color name: Dark Purple.
Questions
- What color is #402937?
- #402937 is a dark, grayish rose, closest to the named color Voodoo. It belongs to the purple family of colors.
- What is the RGB value of #402937?
- The RGB value is 64, 41, 55: 64 red, 41 green and 55 blue on a 0 to 255 scale.
- What is the complementary color of #402937?
- The complementary color is #294032, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #402937?
- White text. Black text has a contrast ratio of 1.59:1 and white text 13.2:1. WCAG asks for at least 4.5:1 for normal text.