#1B1429 color
The hex color #1B1429 is a very dark, desaturated violet.
In the RGB color model it is made of 10.6% red, 7.8% green and 16.1% blue (27, 20, 41).
Its hue angle is 260°, with 34% saturation and 12% lightness. For print, the CMYK equivalent is 34% cyan, 51% magenta, 0% yellow and 84% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 4.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.82:1).
#1B1429 color codes
| HEX | #1B1429 | |
|---|---|---|
| RGB | rgb(27, 20, 41) | |
| RGB percent | rgb(10.6%, 7.8%, 16.1%) | |
| HSL | hsl(260, 34%, 12%) | |
| HSV / HSB | hsv(260, 51%, 16%) | |
| CMYK | cmyk(34%, 51%, 0%, 84%) | |
| CIE LAB | lab(8.07, 9.43, -13.07) | |
| CIE LCH | lch(8.07, 16.12, 305.8) | |
| CIE XYZ | xyz(1.102, 0.893, 2.212) | |
| Decimal | 1774633 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B1429, 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 #1B1429 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.18:1 | Fail | Fail | Fail |
| Sample text | 17.82:1 | Pass | Pass | Pass |
| #1B1429 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.82:1 | Pass | Pass | Pass |
| Sample text | 1.18: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 #1B1429 looks to people with the most common types of color vision deficiency.
#0e182aProtanopia
no red cones#101728Deuteranopia
no green cones#18181cTritanopia
no blue cones#181818Achromatopsia
no color vision
CSS examples
.background { background-color: #1b1429; }
.text { color: #1b1429; }
.border { border: 2px solid #1b1429; }
.transparent { background-color: rgb(27 20 41 / 50%); }
.gradient { background: linear-gradient(to right, #1b1429, #251429); }
Similar colors
#1d0d1dShot in the Dark#151931Dark Knight#111122Corbeau#222233Black Velvet#1c0f33Midnight Monarch#1f2133Eclipse Elixir#060929Mysterious Depths#2a2243Midnight Velvet
Closest common color name: Dark Purple.
Questions
- What color is #1B1429?
- #1B1429 is a very dark, desaturated violet, closest to the named color Shot in the Dark. It belongs to the black family of colors.
- What is the RGB value of #1B1429?
- The RGB value is 27, 20, 41: 27 red, 20 green and 41 blue on a 0 to 255 scale.
- What is the complementary color of #1B1429?
- The complementary color is #222914, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B1429?
- White text. Black text has a contrast ratio of 1.18:1 and white text 17.82:1. WCAG asks for at least 4.5:1 for normal text.