#310C18 color
The hex color #310C18 is a very dark, moderate rose.
In the RGB color model it is made of 19.2% red, 4.7% green and 9.4% blue (49, 12, 24).
Its hue angle is 341°, with 61% saturation and 12% lightness. For print, the CMYK equivalent is 0% cyan, 76% magenta, 51% yellow and 81% black.
The closest named color is Chocolate Kiss (#3C1421), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.55:1).
#310C18 color codes
| HEX | #310C18 | |
|---|---|---|
| RGB | rgb(49, 12, 24) | |
| RGB percent | rgb(19.2%, 4.7%, 9.4%) | |
| HSL | hsl(341, 61%, 12%) | |
| HSV / HSB | hsv(341, 76%, 19%) | |
| CMYK | cmyk(0%, 76%, 51%, 81%) | |
| CIE LAB | lab(8.84, 20.08, 1.35) | |
| CIE LCH | lch(8.84, 20.12, 3.85) | |
| CIE XYZ | xyz(1.563, 0.982, 0.971) | |
| Decimal | 3214360 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #310C18, 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 #310C18 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.2:1 | Fail | Fail | Fail |
| Sample text | 17.55:1 | Pass | Pass | Pass |
| #310C18 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.55:1 | Pass | Pass | Pass |
| Sample text | 1.2: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 #310C18 looks to people with the most common types of color vision deficiency.
#131518Protanopia
no red cones#1d1c17Deuteranopia
no green cones#360811Tritanopia
no blue cones#191919Achromatopsia
no color vision
CSS examples
.background { background-color: #310c18; }
.text { color: #310c18; }
.border { border: 2px solid #310c18; }
.transparent { background-color: rgb(49 12 24 / 50%); }
.gradient { background: linear-gradient(to right, #310c18, #31120c); }
Similar colors
#3c1421Chocolate Kiss#3b1921Bruised Plum#3e1825Black-Hearted#441122What We Do in the Shadows#220011Belladonna#2e0303Nether#2c1620Black Cherry#3304043AM Breakup
Closest common color name: Dark Purple.
Questions
- What color is #310C18?
- #310C18 is a very dark, moderate rose, closest to the named color Chocolate Kiss. It belongs to the black family of colors.
- What is the RGB value of #310C18?
- The RGB value is 49, 12, 24: 49 red, 12 green and 24 blue on a 0 to 255 scale.
- What is the complementary color of #310C18?
- The complementary color is #0C3125, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #310C18?
- White text. Black text has a contrast ratio of 1.2:1 and white text 17.55:1. WCAG asks for at least 4.5:1 for normal text.