#231B21 color
The hex color #231B21 is a very dark, grayish magenta.
In the RGB color model it is made of 13.7% red, 10.6% green and 12.9% blue (35, 27, 33).
Its hue angle is 315°, with 13% saturation and 12% lightness. For print, the CMYK equivalent is 0% cyan, 23% magenta, 6% yellow and 86% black.
The closest named color is Night Demons (#201B20), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.8:1).
#231B21 color codes
| HEX | #231B21 | |
|---|---|---|
| RGB | rgb(35, 27, 33) | |
| RGB percent | rgb(13.7%, 10.6%, 12.9%) | |
| HSL | hsl(315, 13%, 12%) | |
| HSV / HSB | hsv(315, 23%, 14%) | |
| CMYK | cmyk(0%, 23%, 6%, 86%) | |
| CIE LAB | lab(10.93, 5.3, -2.64) | |
| CIE LCH | lch(10.93, 5.92, 333.49) | |
| CIE XYZ | xyz(1.36, 1.251, 1.608) | |
| Decimal | 2300705 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #231B21, 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 #231B21 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.25:1 | Fail | Fail | Fail |
| Sample text | 16.8:1 | Pass | Pass | Pass |
| #231B21 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.8:1 | Pass | Pass | Pass |
| Sample text | 1.25: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 #231B21 looks to people with the most common types of color vision deficiency.
#1b1d21Protanopia
no red cones#1d1e21Deuteranopia
no green cones#241b1dTritanopia
no blue cones#1d1d1dAchromatopsia
no color vision
CSS examples
.background { background-color: #231b21; }
.text { color: #231b21; }
.border { border: 2px solid #231b21; }
.transparent { background-color: rgb(35 27 33 / 50%); }
.gradient { background: linear-gradient(to right, #231b21, #231b1d); }
Similar colors
#201b20Night Demons#252024Ink Black#1f1518Bats Cloak#1a161dViolet Void#241f20Velvet Black#16141cBack in Black#150811Noir Fiction#27252aDarth Vader
Closest common color name: Licorice.
Questions
- What color is #231B21?
- #231B21 is a very dark, grayish magenta, closest to the named color Night Demons. It belongs to the black family of colors.
- What is the RGB value of #231B21?
- The RGB value is 35, 27, 33: 35 red, 27 green and 33 blue on a 0 to 255 scale.
- What is the complementary color of #231B21?
- The complementary color is #1B231D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #231B21?
- White text. Black text has a contrast ratio of 1.25:1 and white text 16.8:1. WCAG asks for at least 4.5:1 for normal text.