#310822 color
The hex color #310822 is a very dark, moderate rose.
In the RGB color model it is made of 19.2% red, 3.1% green and 13.3% blue (49, 8, 34).
Its hue angle is 322°, with 72% saturation and 11% lightness. For print, the CMYK equivalent is 0% cyan, 84% magenta, 31% yellow and 81% black.
The closest named color is Vienna Roast (#330022), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.67:1).
#310822 color codes
| HEX | #310822 | |
|---|---|---|
| RGB | rgb(49, 8, 34) | |
| RGB percent | rgb(19.2%, 3.1%, 13.3%) | |
| HSL | hsl(322, 72%, 11%) | |
| HSV / HSB | hsv(322, 84%, 19%) | |
| CMYK | cmyk(0%, 84%, 31%, 81%) | |
| CIE LAB | lab(8.5, 23.65, -6.83) | |
| CIE LCH | lch(8.5, 24.62, 343.89) | |
| CIE XYZ | xyz(1.642, 0.942, 1.608) | |
| Decimal | 3213346 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #310822, 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 #310822 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.19:1 | Fail | Fail | Fail |
| Sample text | 17.67:1 | Pass | Pass | Pass |
| #310822 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.67:1 | Pass | Pass | Pass |
| Sample text | 1.19: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 #310822 looks to people with the most common types of color vision deficiency.
#0d1423Protanopia
no red cones#191b21Deuteranopia
no green cones#350713Tritanopia
no blue cones#181818Achromatopsia
no color vision
CSS examples
.background { background-color: #310822; }
.text { color: #310822; }
.border { border: 2px solid #310822; }
.transparent { background-color: rgb(49 8 34 / 50%); }
.gradient { background: linear-gradient(to right, #310822, #31080d); }
Similar colors
#330022Vienna Roast#391531Nightly Voyager#3f012cDark Sanctuary#43182fBlackberry#220022Black Sabbath#2b0f2eDark Prom Queen#3c1421Chocolate Kiss#220011Belladonna
Closest common color name: Dark Purple.
Questions
- What color is #310822?
- #310822 is a very dark, moderate rose, closest to the named color Vienna Roast. It belongs to the black family of colors.
- What is the RGB value of #310822?
- The RGB value is 49, 8, 34: 49 red, 8 green and 34 blue on a 0 to 255 scale.
- What is the complementary color of #310822?
- The complementary color is #083117, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #310822?
- White text. Black text has a contrast ratio of 1.19:1 and white text 17.67:1. WCAG asks for at least 4.5:1 for normal text.