#1F1E24 color
The hex color #1F1E24 is a very dark, grayish violet.
In the RGB color model it is made of 12.2% red, 11.8% green and 14.1% blue (31, 30, 36).
Its hue angle is 250°, with 9% saturation and 13% lightness. For print, the CMYK equivalent is 14% cyan, 17% magenta, 0% yellow and 86% black.
The closest named color is Inkwell Inception (#1E1E21), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.54:1).
#1F1E24 color codes
| HEX | #1F1E24 | |
|---|---|---|
| RGB | rgb(31, 30, 36) | |
| RGB percent | rgb(12.2%, 11.8%, 14.1%) | |
| HSL | hsl(250, 9%, 13%) | |
| HSV / HSB | hsv(250, 17%, 14%) | |
| CMYK | cmyk(14%, 17%, 0%, 86%) | |
| CIE LAB | lab(11.6, 2.05, -3.9) | |
| CIE LCH | lch(11.6, 4.4, 297.7) | |
| CIE XYZ | xyz(1.348, 1.347, 1.858) | |
| Decimal | 2039332 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F1E24, 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 #1F1E24 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.27:1 | Fail | Fail | Fail |
| Sample text | 16.54:1 | Pass | Pass | Pass |
| #1F1E24 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.54:1 | Pass | Pass | Pass |
| Sample text | 1.27: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 #1F1E24 looks to people with the most common types of color vision deficiency.
#1d1f24Protanopia
no red cones#1d1f24Deuteranopia
no green cones#1e1f20Tritanopia
no blue cones#1f1f1fAchromatopsia
no color vision
CSS examples
.background { background-color: #1f1e24; }
.text { color: #1f1e24; }
.border { border: 2px solid #1f1e24; }
.transparent { background-color: rgb(31 30 36 / 50%); }
.gradient { background: linear-gradient(to right, #1f1e24, #221e24); }
Similar colors
#1e1e21Inkwell Inception#27252aDarth Vader#201b20Night Demons#16161dEigengrau#252024Ink Black#202124Noble Black#1a161dViolet Void#17171aPiano Black
Closest common color name: Midnight Black.
Questions
- What color is #1F1E24?
- #1F1E24 is a very dark, grayish violet, closest to the named color Inkwell Inception. It belongs to the black family of colors.
- What is the RGB value of #1F1E24?
- The RGB value is 31, 30, 36: 31 red, 30 green and 36 blue on a 0 to 255 scale.
- What is the complementary color of #1F1E24?
- The complementary color is #23241E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F1E24?
- White text. Black text has a contrast ratio of 1.27:1 and white text 16.54:1. WCAG asks for at least 4.5:1 for normal text.