#231A22 color
The hex color #231A22 is a very dark, grayish magenta.
In the RGB color model it is made of 13.7% red, 10.2% green and 13.3% blue (35, 26, 34).
Its hue angle is 307°, with 15% saturation and 12% lightness. For print, the CMYK equivalent is 0% cyan, 26% magenta, 3% yellow and 86% black.
The closest named color is Night Demons (#201B20), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.9:1).
#231A22 color codes
| HEX | #231A22 | |
|---|---|---|
| RGB | rgb(35, 26, 34) | |
| RGB percent | rgb(13.7%, 10.2%, 13.3%) | |
| HSL | hsl(307, 15%, 12%) | |
| HSV / HSB | hsv(307, 26%, 14%) | |
| CMYK | cmyk(0%, 26%, 3%, 86%) | |
| CIE LAB | lab(10.64, 6.28, -3.81) | |
| CIE LCH | lch(10.64, 7.35, 328.76) | |
| CIE XYZ | xyz(1.351, 1.212, 1.676) | |
| Decimal | 2300450 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #231A22, 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 #231A22 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.9:1 | Pass | Pass | Pass |
| #231A22 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.9:1 | Pass | Pass | Pass |
| Sample text | 1.24: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 #231A22 looks to people with the most common types of color vision deficiency.
#1a1c22Protanopia
no red cones#1c1d22Deuteranopia
no green cones#241b1dTritanopia
no blue cones#1d1d1dAchromatopsia
no color vision
CSS examples
.background { background-color: #231a22; }
.text { color: #231a22; }
.border { border: 2px solid #231a22; }
.transparent { background-color: rgb(35 26 34 / 50%); }
.gradient { background: linear-gradient(to right, #231a22, #231a1d); }
Similar colors
#201b20Night Demons#1a161dViolet Void#1f1518Bats Cloak#252024Ink Black#150811Noir Fiction#16141cBack in Black#342931Melanzane#180614Crow
Closest common color name: Licorice.
Questions
- What color is #231A22?
- #231A22 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 #231A22?
- The RGB value is 35, 26, 34: 35 red, 26 green and 34 blue on a 0 to 255 scale.
- What is the complementary color of #231A22?
- The complementary color is #1A231B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #231A22?
- White text. Black text has a contrast ratio of 1.24:1 and white text 16.9:1. WCAG asks for at least 4.5:1 for normal text.