#312E36 color
The hex color #312E36 is a very dark, grayish violet.
In the RGB color model it is made of 19.2% red, 18% green and 21.2% blue (49, 46, 54).
Its hue angle is 263°, with 8% saturation and 20% lightness. For print, the CMYK equivalent is 9% cyan, 15% magenta, 0% yellow and 79% black.
The closest named color is Haiti (#2C2A35), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.34:1).
#312E36 color codes
| HEX | #312E36 | |
|---|---|---|
| RGB | rgb(49, 46, 54) | |
| RGB percent | rgb(19.2%, 18%, 21.2%) | |
| HSL | hsl(263, 8%, 20%) | |
| HSV / HSB | hsv(263, 15%, 21%) | |
| CMYK | cmyk(9%, 15%, 0%, 79%) | |
| CIE LAB | lab(19.53, 3.26, -4.62) | |
| CIE LCH | lch(19.53, 5.65, 305.26) | |
| CIE XYZ | xyz(2.909, 2.873, 3.891) | |
| Decimal | 3223094 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #312E36, 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 #312E36 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.57:1 | Fail | Fail | Fail |
| Sample text | 13.34:1 | Pass | Pass | Pass |
| #312E36 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.34:1 | Pass | Pass | Pass |
| Sample text | 1.57: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 #312E36 looks to people with the most common types of color vision deficiency.
#2d2f36Protanopia
no red cones#2d2f36Deuteranopia
no green cones#302f31Tritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #312e36; }
.text { color: #312e36; }
.border { border: 2px solid #312e36; }
.transparent { background-color: rgb(49 46 54 / 50%); }
.gradient { background: linear-gradient(to right, #312e36, #352e36); }
Similar colors
#2c2a35Haiti#35343fWitches Cauldron#393540Professor Plum#29292fJaguar#28282dAnthracite#27252aDarth Vader#292b31Night Sky#2b2c30Caviar
Closest common color name: Jet Black.
Questions
- What color is #312E36?
- #312E36 is a very dark, grayish violet, closest to the named color Haiti. It belongs to the black family of colors.
- What is the RGB value of #312E36?
- The RGB value is 49, 46, 54: 49 red, 46 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #312E36?
- The complementary color is #33362E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #312E36?
- White text. Black text has a contrast ratio of 1.57:1 and white text 13.34:1. WCAG asks for at least 4.5:1 for normal text.