#1B102F color
The hex color #1B102F is a very dark, desaturated violet.
In the RGB color model it is made of 10.6% red, 6.3% green and 18.4% blue (27, 16, 47).
Its hue angle is 261°, with 49% saturation and 12% lightness. For print, the CMYK equivalent is 43% cyan, 66% magenta, 0% yellow and 82% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.08:1).
#1B102F color codes
| HEX | #1B102F | |
|---|---|---|
| RGB | rgb(27, 16, 47) | |
| RGB percent | rgb(10.6%, 6.3%, 18.4%) | |
| HSL | hsl(261, 49%, 12%) | |
| HSV / HSB | hsv(261, 66%, 18%) | |
| CMYK | cmyk(43%, 66%, 0%, 82%) | |
| CIE LAB | lab(7.31, 14.34, -18.74) | |
| CIE LCH | lch(7.31, 23.6, 307.42) | |
| CIE XYZ | xyz(1.15, 0.809, 2.784) | |
| Decimal | 1773615 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B102F, 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 #1B102F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.16:1 | Fail | Fail | Fail |
| Sample text | 18.08:1 | Pass | Pass | Pass |
| #1B102F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.08:1 | Pass | Pass | Pass |
| Sample text | 1.16: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 #1B102F looks to people with the most common types of color vision deficiency.
#041630Protanopia
no red cones#07162eDeuteranopia
no green cones#16161dTritanopia
no blue cones#161616Achromatopsia
no color vision
CSS examples
.background { background-color: #1b102f; }
.text { color: #1b102f; }
.border { border: 2px solid #1b102f; }
.transparent { background-color: rgb(27 16 47 / 50%); }
.gradient { background: linear-gradient(to right, #1b102f, #2a102f); }
Similar colors
#1c0f33Midnight Monarch#160435Quiet Abyss#2a2243Midnight Velvet#2b0f2eDark Prom Queen#301934Dark Purple#071037Infinite Night#211d49Azulado#060929Mysterious Depths
Questions
- What color is #1B102F?
- #1B102F is a very dark, desaturated violet, closest to the named color Midnight Monarch. It belongs to the black family of colors.
- What is the RGB value of #1B102F?
- The RGB value is 27, 16, 47: 27 red, 16 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #1B102F?
- The complementary color is #242F10, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B102F?
- White text. Black text has a contrast ratio of 1.16:1 and white text 18.08:1. WCAG asks for at least 4.5:1 for normal text.