#140A1F color
The hex color #140A1F is a very dark, moderate violet.
In the RGB color model it is made of 7.8% red, 3.9% green and 12.2% blue (20, 10, 31).
Its hue angle is 269°, with 51% saturation and 8% lightness. For print, the CMYK equivalent is 35% cyan, 68% magenta, 0% yellow and 88% black.
The closest named color is Corbeau (#111122), a difference of 4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.21:1).
#140A1F color codes
| HEX | #140A1F | |
|---|---|---|
| RGB | rgb(20, 10, 31) | |
| RGB percent | rgb(7.8%, 3.9%, 12.2%) | |
| HSL | hsl(269, 51%, 8%) | |
| HSV / HSB | hsv(269, 68%, 12%) | |
| CMYK | cmyk(35%, 68%, 0%, 88%) | |
| CIE LAB | lab(4.2, 8.3, -11.49) | |
| CIE LCH | lch(4.2, 14.17, 305.85) | |
| CIE XYZ | xyz(0.644, 0.465, 1.352) | |
| Decimal | 1313311 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #140A1F, 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 #140A1F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.09:1 | Fail | Fail | Fail |
| Sample text | 19.21:1 | Pass | Pass | Pass |
| #140A1F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.21:1 | Pass | Pass | Pass |
| Sample text | 1.09: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 #140A1F looks to people with the most common types of color vision deficiency.
#050e20Protanopia
no red cones#070f1eDeuteranopia
no green cones#120e13Tritanopia
no blue cones#0f0f0fAchromatopsia
no color vision
CSS examples
.background { background-color: #140a1f; }
.text { color: #140a1f; }
.border { border: 2px solid #140a1f; }
.transparent { background-color: rgb(20 10 31 / 50%); }
.gradient { background: linear-gradient(to right, #140a1f, #1e0a1f); }
Similar colors
#111122Corbeau#1d0d1dShot in the Dark#110011Glossy Black#180614Crow#151931Dark Knight#060313Obsidian Shard#060929Mysterious Depths#050d25Void
Closest common color name: Dark Purple.
Questions
- What color is #140A1F?
- #140A1F is a very dark, moderate violet, closest to the named color Corbeau. It belongs to the black family of colors.
- What is the RGB value of #140A1F?
- The RGB value is 20, 10, 31: 20 red, 10 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #140A1F?
- The complementary color is #151F0A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #140A1F?
- White text. Black text has a contrast ratio of 1.09:1 and white text 19.21:1. WCAG asks for at least 4.5:1 for normal text.