#1B012E color
The hex color #1B012E is a very dark, vivid violet.
In the RGB color model it is made of 10.6% red, 0.4% green and 18% blue (27, 1, 46).
Its hue angle is 275°, with 96% saturation and 9% lightness. For print, the CMYK equivalent is 41% cyan, 98% magenta, 0% yellow and 82% black.
The closest named color is Quiet Abyss (#160435), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.26:1).
#1B012E color codes
| HEX | #1B012E | |
|---|---|---|
| RGB | rgb(27, 1, 46) | |
| RGB percent | rgb(10.6%, 0.4%, 18%) | |
| HSL | hsl(275, 96%, 9%) | |
| HSV / HSB | hsv(275, 98%, 18%) | |
| CMYK | cmyk(41%, 98%, 0%, 82%) | |
| CIE LAB | lab(4.08, 21.36, -23.12) | |
| CIE LCH | lch(4.08, 31.48, 312.73) | |
| CIE XYZ | xyz(0.956, 0.452, 2.621) | |
| Decimal | 1769774 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B012E, 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 #1B012E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.09:1 | Fail | Fail | Fail |
| Sample text | 19.26:1 | Pass | Pass | Pass |
| #1B012E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.26:1 | Pass | Pass | Pass |
| Sample text | 1.09: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 #1B012E looks to people with the most common types of color vision deficiency.
#000d2fProtanopia
no red cones#000e2dDeuteranopia
no green cones#180b17Tritanopia
no blue cones#0e0e0eAchromatopsia
no color vision
CSS examples
.background { background-color: #1b012e; }
.text { color: #1b012e; }
.border { border: 2px solid #1b012e; }
.transparent { background-color: rgb(27 1 46 / 50%); }
.gradient { background: linear-gradient(to right, #1b012e, #2e012b); }
Similar colors
#160435Quiet Abyss#220033Coal Mine#1c0f33Midnight Monarch#220022Black Sabbath#2b0f2eDark Prom Queen#220044Your Darkness#111144Deadly Depths#03012dMidnight
Closest common color name: Dark Purple.
Questions
- What color is #1B012E?
- #1B012E is a very dark, vivid violet, closest to the named color Quiet Abyss. It belongs to the black family of colors.
- What is the RGB value of #1B012E?
- The RGB value is 27, 1, 46: 27 red, 1 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #1B012E?
- The complementary color is #142E01, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B012E?
- White text. Black text has a contrast ratio of 1.09:1 and white text 19.26:1. WCAG asks for at least 4.5:1 for normal text.