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