#1B131C color
The hex color #1B131C is a very dark, grayish magenta.
In the RGB color model it is made of 10.6% red, 7.5% green and 11% blue (27, 19, 28).
Its hue angle is 293°, with 19% saturation and 9% lightness. For print, the CMYK equivalent is 4% cyan, 32% magenta, 0% yellow and 89% black.
The closest named color is Violet Void (#1A161D), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.16:1).
#1B131C color codes
| HEX | #1B131C | |
|---|---|---|
| RGB | rgb(27, 19, 28) | |
| RGB percent | rgb(10.6%, 7.5%, 11%) | |
| HSL | hsl(293, 19%, 9%) | |
| HSV / HSB | hsv(293, 32%, 11%) | |
| CMYK | cmyk(4%, 32%, 0%, 89%) | |
| CIE LAB | lab(7.07, 6.13, -4.76) | |
| CIE LCH | lch(7.07, 7.76, 322.14) | |
| CIE XYZ | xyz(0.894, 0.783, 1.202) | |
| Decimal | 1774364 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B131C, 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 #1B131C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.16:1 | Fail | Fail | Fail |
| Sample text | 18.16:1 | Pass | Pass | Pass |
| #1B131C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.16: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 #1B131C looks to people with the most common types of color vision deficiency.
#12151cProtanopia
no red cones#14161cDeuteranopia
no green cones#1b1416Tritanopia
no blue cones#161616Achromatopsia
no color vision
CSS examples
.background { background-color: #1b131c; }
.text { color: #1b131c; }
.border { border: 2px solid #1b131c; }
.transparent { background-color: rgb(27 19 28 / 50%); }
.gradient { background: linear-gradient(to right, #1b131c, #1c1318); }
Similar colors
#1a161dViolet Void#150811Noir Fiction#180614Crow#110011Glossy Black#16141cBack in Black#201b20Night Demons#1f1518Bats Cloak#1d0d1dShot in the Dark
Closest common color name: Licorice.
Questions
- What color is #1B131C?
- #1B131C is a very dark, grayish magenta, closest to the named color Violet Void. It belongs to the black family of colors.
- What is the RGB value of #1B131C?
- The RGB value is 27, 19, 28: 27 red, 19 green and 28 blue on a 0 to 255 scale.
- What is the complementary color of #1B131C?
- The complementary color is #141C13, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B131C?
- White text. Black text has a contrast ratio of 1.16:1 and white text 18.16:1. WCAG asks for at least 4.5:1 for normal text.