#1B0B34 color
The hex color #1B0B34 is a very dark, moderate violet.
In the RGB color model it is made of 10.6% red, 4.3% green and 20.4% blue (27, 11, 52).
Its hue angle is 263°, with 65% saturation and 12% lightness. For print, the CMYK equivalent is 48% cyan, 79% magenta, 0% yellow and 80% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.36:1).
#1B0B34 color codes
| HEX | #1B0B34 | |
|---|---|---|
| RGB | rgb(27, 11, 52) | |
| RGB percent | rgb(10.6%, 4.3%, 20.4%) | |
| HSL | hsl(263, 65%, 12%) | |
| HSV / HSB | hsv(263, 79%, 20%) | |
| CMYK | cmyk(48%, 79%, 0%, 80%) | |
| CIE LAB | lab(6.51, 19.14, -23.71) | |
| CIE LCH | lch(6.51, 30.47, 308.91) | |
| CIE XYZ | xyz(1.191, 0.72, 3.324) | |
| Decimal | 1772340 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B0B34, 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 #1B0B34 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.14:1 | Fail | Fail | Fail |
| Sample text | 18.36:1 | Pass | Pass | Pass |
| #1B0B34 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.36: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 #1B0B34 looks to people with the most common types of color vision deficiency.
#001535Protanopia
no red cones#001433Deuteranopia
no green cones#15151eTritanopia
no blue cones#141414Achromatopsia
no color vision
CSS examples
.background { background-color: #1b0b34; }
.text { color: #1b0b34; }
.border { border: 2px solid #1b0b34; }
.transparent { background-color: rgb(27 11 52 / 50%); }
.gradient { background: linear-gradient(to right, #1b0b34, #300b34); }
Similar colors
#1c0f33Midnight Monarch#160435Quiet Abyss#220033Coal Mine#111144Deadly Depths#211d49Azulado#231c4dSilent Orbit#071037Infinite Night#03012dMidnight
Closest common color name: Dark Purple.
Questions
- What color is #1B0B34?
- #1B0B34 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 #1B0B34?
- The RGB value is 27, 11, 52: 27 red, 11 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #1B0B34?
- The complementary color is #24340B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B0B34?
- White text. Black text has a contrast ratio of 1.14:1 and white text 18.36:1. WCAG asks for at least 4.5:1 for normal text.