#140F1F color
The hex color #140F1F is a very dark, desaturated violet.
In the RGB color model it is made of 7.8% red, 5.9% green and 12.2% blue (20, 15, 31).
Its hue angle is 259°, with 35% saturation and 9% lightness. For print, the CMYK equivalent is 35% cyan, 52% magenta, 0% yellow and 88% black.
The closest named color is Corbeau (#111122), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.79:1).
#140F1F color codes
| HEX | #140F1F | |
|---|---|---|
| RGB | rgb(20, 15, 31) | |
| RGB percent | rgb(7.8%, 5.9%, 12.2%) | |
| HSL | hsl(259, 35%, 9%) | |
| HSV / HSB | hsv(259, 52%, 12%) | |
| CMYK | cmyk(35%, 52%, 0%, 88%) | |
| CIE LAB | lab(5.32, 6, -9.78) | |
| CIE LCH | lch(5.32, 11.48, 301.52) | |
| CIE XYZ | xyz(0.707, 0.589, 1.373) | |
| Decimal | 1314591 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #140F1F, 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 #140F1F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.12:1 | Fail | Fail | Fail |
| Sample text | 18.79:1 | Pass | Pass | Pass |
| #140F1F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.79:1 | Pass | Pass | Pass |
| Sample text | 1.12: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 #140F1F looks to people with the most common types of color vision deficiency.
#0b1220Protanopia
no red cones#0c111fDeuteranopia
no green cones#121215Tritanopia
no blue cones#121212Achromatopsia
no color vision
CSS examples
.background { background-color: #140f1f; }
.text { color: #140f1f; }
.border { border: 2px solid #140f1f; }
.transparent { background-color: rgb(20 15 31 / 50%); }
.gradient { background: linear-gradient(to right, #140f1f, #1c0f1f); }
Similar colors
#111122Corbeau#060313Obsidian Shard#16141cBack in Black#110011Glossy Black#1a161dViolet Void#151931Dark Knight#1d0d1dShot in the Dark#180614Crow
Closest common color name: Midnight Black.
Questions
- What color is #140F1F?
- #140F1F is a very dark, desaturated violet, closest to the named color Corbeau. It belongs to the black family of colors.
- What is the RGB value of #140F1F?
- The RGB value is 20, 15, 31: 20 red, 15 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #140F1F?
- The complementary color is #1A1F0F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #140F1F?
- White text. Black text has a contrast ratio of 1.12:1 and white text 18.79:1. WCAG asks for at least 4.5:1 for normal text.