#1B0D2B color
The hex color #1B0D2B is a very dark, moderate violet.
In the RGB color model it is made of 10.6% red, 5.1% green and 16.9% blue (27, 13, 43).
Its hue angle is 268°, with 54% saturation and 11% lightness. For print, the CMYK equivalent is 37% cyan, 70% magenta, 0% yellow and 83% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.44:1).
#1B0D2B color codes
| HEX | #1B0D2B | |
|---|---|---|
| RGB | rgb(27, 13, 43) | |
| RGB percent | rgb(10.6%, 5.1%, 16.9%) | |
| HSL | hsl(268, 54%, 11%) | |
| HSV / HSB | hsv(268, 70%, 17%) | |
| CMYK | cmyk(37%, 70%, 0%, 83%) | |
| CIE LAB | lab(6.28, 14.68, -17.39) | |
| CIE LCH | lch(6.28, 22.75, 310.17) | |
| CIE XYZ | xyz(1.032, 0.695, 2.365) | |
| Decimal | 1772843 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B0D2B, 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 #1B0D2B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.14:1 | Fail | Fail | Fail |
| Sample text | 18.44:1 | Pass | Pass | Pass |
| #1B0D2B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.44:1 | Pass | Pass | Pass |
| Sample text | 1.14: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 #1B0D2B looks to people with the most common types of color vision deficiency.
#03142cProtanopia
no red cones#07142aDeuteranopia
no green cones#18131aTritanopia
no blue cones#141414Achromatopsia
no color vision
CSS examples
.background { background-color: #1b0d2b; }
.text { color: #1b0d2b; }
.border { border: 2px solid #1b0d2b; }
.transparent { background-color: rgb(27 13 43 / 50%); }
.gradient { background: linear-gradient(to right, #1b0d2b, #2a0d2b); }
Similar colors
#1c0f33Midnight Monarch#2b0f2eDark Prom Queen#220022Black Sabbath#160435Quiet Abyss#301934Dark Purple#1d0d1dShot in the Dark#2a2243Midnight Velvet#220033Coal Mine
Questions
- What color is #1B0D2B?
- #1B0D2B 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 #1B0D2B?
- The RGB value is 27, 13, 43: 27 red, 13 green and 43 blue on a 0 to 255 scale.
- What is the complementary color of #1B0D2B?
- The complementary color is #1D2B0D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B0D2B?
- White text. Black text has a contrast ratio of 1.14:1 and white text 18.44:1. WCAG asks for at least 4.5:1 for normal text.