#31031E color
The hex color #31031E is a very dark, vivid rose.
In the RGB color model it is made of 19.2% red, 1.2% green and 11.8% blue (49, 3, 30).
Its hue angle is 325°, with 88% saturation and 10% lightness. For print, the CMYK equivalent is 0% cyan, 94% magenta, 39% yellow and 81% black.
The closest named color is Vienna Roast (#330022), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.07:1).
#31031E color codes
| HEX | #31031E | |
|---|---|---|
| RGB | rgb(49, 3, 30) | |
| RGB percent | rgb(19.2%, 1.2%, 11.8%) | |
| HSL | hsl(325, 88%, 10%) | |
| HSV / HSB | hsv(325, 94%, 19%) | |
| CMYK | cmyk(0%, 94%, 39%, 81%) | |
| CIE LAB | lab(7.33, 25.76, -5.53) | |
| CIE LCH | lch(7.33, 26.35, 347.9) | |
| CIE XYZ | xyz(1.534, 0.812, 1.304) | |
| Decimal | 3212062 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31031E, 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 #31031E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.16:1 | Fail | Fail | Fail |
| Sample text | 18.07:1 | Pass | Pass | Pass |
| #31031E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.07:1 | Pass | Pass | Pass |
| Sample text | 1.16: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 #31031E looks to people with the most common types of color vision deficiency.
#0a111fProtanopia
no red cones#18191dDeuteranopia
no green cones#35010fTritanopia
no blue cones#161616Achromatopsia
no color vision
CSS examples
.background { background-color: #31031e; }
.text { color: #31031e; }
.border { border: 2px solid #31031e; }
.transparent { background-color: rgb(49 3 30 / 50%); }
.gradient { background: linear-gradient(to right, #31031e, #310307); }
Similar colors
#330022Vienna Roast#3f012cDark Sanctuary#391531Nightly Voyager#43182fBlackberry#3c1421Chocolate Kiss#220011Belladonna#4c022fEvil Empire#441122What We Do in the Shadows
Closest common color name: Dark Purple.
Questions
- What color is #31031E?
- #31031E is a very dark, vivid rose, closest to the named color Vienna Roast. It belongs to the black family of colors.
- What is the RGB value of #31031E?
- The RGB value is 49, 3, 30: 49 red, 3 green and 30 blue on a 0 to 255 scale.
- What is the complementary color of #31031E?
- The complementary color is #033116, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31031E?
- White text. Black text has a contrast ratio of 1.16:1 and white text 18.07:1. WCAG asks for at least 4.5:1 for normal text.