#140A2E color
The hex color #140A2E is a very dark, moderate violet.
In the RGB color model it is made of 7.8% red, 3.9% green and 18% blue (20, 10, 46).
Its hue angle is 257°, with 64% saturation and 11% lightness. For print, the CMYK equivalent is 57% cyan, 78% magenta, 0% yellow and 82% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.87:1).
#140A2E color codes
| HEX | #140A2E | |
|---|---|---|
| RGB | rgb(20, 10, 46) | |
| RGB percent | rgb(7.8%, 3.9%, 18%) | |
| HSL | hsl(257, 64%, 11%) | |
| HSV / HSB | hsv(257, 78%, 18%) | |
| CMYK | cmyk(57%, 78%, 0%, 82%) | |
| CIE LAB | lab(5.09, 14.5, -21.58) | |
| CIE LCH | lch(5.09, 26, 303.91) | |
| CIE XYZ | xyz(0.89, 0.563, 2.646) | |
| Decimal | 1313326 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #140A2E, 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 #140A2E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.11:1 | Fail | Fail | Fail |
| Sample text | 18.87:1 | Pass | Pass | Pass |
| #140A2E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.87:1 | Pass | Pass | Pass |
| Sample text | 1.11: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 #140A2E looks to people with the most common types of color vision deficiency.
#00122fProtanopia
no red cones#00102dDeuteranopia
no green cones#0c131aTritanopia
no blue cones#111111Achromatopsia
no color vision
CSS examples
.background { background-color: #140a2e; }
.text { color: #140a2e; }
.border { border: 2px solid #140a2e; }
.transparent { background-color: rgb(20 10 46 / 50%); }
.gradient { background: linear-gradient(to right, #140a2e, #260a2e); }
Similar colors
#1c0f33Midnight Monarch#160435Quiet Abyss#03012dMidnight#071037Infinite Night#060929Mysterious Depths#00022eIllicit Darkness#000435Oblivion#111144Deadly Depths
Closest common color name: Dark Purple.
Questions
- What color is #140A2E?
- #140A2E is a very dark, moderate violet, closest to the named color Midnight Monarch. It belongs to the black family of colors.
- What is the RGB value of #140A2E?
- The RGB value is 20, 10, 46: 20 red, 10 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #140A2E?
- The complementary color is #242E0A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #140A2E?
- White text. Black text has a contrast ratio of 1.11:1 and white text 18.87:1. WCAG asks for at least 4.5:1 for normal text.