#311E27 color
The hex color #311E27 is a very dark, grayish rose.
In the RGB color model it is made of 19.2% red, 11.8% green and 15.3% blue (49, 30, 39).
Its hue angle is 332°, with 24% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 39% magenta, 20% yellow and 81% black.
The closest named color is Black Cherry (#2C1620), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.61:1).
#311E27 color codes
| HEX | #311E27 | |
|---|---|---|
| RGB | rgb(49, 30, 39) | |
| RGB percent | rgb(19.2%, 11.8%, 15.3%) | |
| HSL | hsl(332, 24%, 15%) | |
| HSV / HSB | hsv(332, 39%, 19%) | |
| CMYK | cmyk(0%, 39%, 20%, 81%) | |
| CIE LAB | lab(13.99, 10.97, -2.28) | |
| CIE LCH | lch(13.99, 11.2, 348.24) | |
| CIE XYZ | xyz(2.097, 1.728, 2.142) | |
| Decimal | 3218983 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #311E27, 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 #311E27 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.35:1 | Fail | Fail | Fail |
| Sample text | 15.61:1 | Pass | Pass | Pass |
| #311E27 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.61:1 | Pass | Pass | Pass |
| Sample text | 1.35: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 #311E27 looks to people with the most common types of color vision deficiency.
#202227Protanopia
no red cones#242527Deuteranopia
no green cones#341e21Tritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #311e27; }
.text { color: #311e27; }
.border { border: 2px solid #311e27; }
.transparent { background-color: rgb(49 30 39 / 50%); }
.gradient { background: linear-gradient(to right, #311e27, #311e1e); }
Similar colors
#2c1620Black Cherry#372528Aubergine#342931Melanzane#34282cSmoky Charcoal#44232fCastro#3b2b2cHavana#352b30Mystical Shadow#3b1921Bruised Plum
Closest common color name: Dark Purple.
Questions
- What color is #311E27?
- #311E27 is a very dark, grayish rose, closest to the named color Black Cherry. It belongs to the black family of colors.
- What is the RGB value of #311E27?
- The RGB value is 49, 30, 39: 49 red, 30 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #311E27?
- The complementary color is #1E3128, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #311E27?
- White text. Black text has a contrast ratio of 1.35:1 and white text 15.61:1. WCAG asks for at least 4.5:1 for normal text.