#312930 color
The hex color #312930 is a very dark, grayish magenta.
In the RGB color model it is made of 19.2% red, 16.1% green and 18.8% blue (49, 41, 48).
Its hue angle is 308°, with 9% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 16% magenta, 2% yellow and 81% black.
The closest named color is Mystical Shadow (#352B30), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.09:1).
#312930 color codes
| HEX | #312930 | |
|---|---|---|
| RGB | rgb(49, 41, 48) | |
| RGB percent | rgb(19.2%, 16.1%, 18.8%) | |
| HSL | hsl(308, 9%, 18%) | |
| HSV / HSB | hsv(308, 16%, 19%) | |
| CMYK | cmyk(0%, 16%, 2%, 81%) | |
| CIE LAB | lab(17.7, 5.25, -3.18) | |
| CIE LCH | lch(17.7, 6.14, 328.84) | |
| CIE XYZ | xyz(2.593, 2.452, 3.132) | |
| Decimal | 3221808 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #312930, 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 #312930 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.49:1 | Fail | Fail | Fail |
| Sample text | 14.09:1 | Pass | Pass | Pass |
| #312930 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.09:1 | Pass | Pass | Pass |
| Sample text | 1.49: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 #312930 looks to people with the most common types of color vision deficiency.
#292b30Protanopia
no red cones#2a2c30Deuteranopia
no green cones#32292bTritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #312930; }
.text { color: #312930; }
.border { border: 2px solid #312930; }
.transparent { background-color: rgb(49 41 48 / 50%); }
.gradient { background: linear-gradient(to right, #312930, #31292c); }
Similar colors
#352b30Mystical Shadow#342931Melanzane#34282cSmoky Charcoal#2c2a35Haiti#252024Ink Black#27252aDarth Vader#393540Professor Plum#29292fJaguar
Closest common color name: Jet Black.
Questions
- What color is #312930?
- #312930 is a very dark, grayish magenta, closest to the named color Mystical Shadow. It belongs to the black family of colors.
- What is the RGB value of #312930?
- The RGB value is 49, 41, 48: 49 red, 41 green and 48 blue on a 0 to 255 scale.
- What is the complementary color of #312930?
- The complementary color is #29312A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #312930?
- White text. Black text has a contrast ratio of 1.49:1 and white text 14.09:1. WCAG asks for at least 4.5:1 for normal text.