#231F29 color
The hex color #231F29 is a very dark, grayish violet.
In the RGB color model it is made of 13.7% red, 12.2% green and 16.1% blue (35, 31, 41).
Its hue angle is 264°, with 14% saturation and 14% lightness. For print, the CMYK equivalent is 15% cyan, 24% magenta, 0% yellow and 84% black.
The closest named color is Night Demons (#201B20), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.16:1).
#231F29 color codes
| HEX | #231F29 | |
|---|---|---|
| RGB | rgb(35, 31, 41) | |
| RGB percent | rgb(13.7%, 12.2%, 16.1%) | |
| HSL | hsl(264, 14%, 14%) | |
| HSV / HSB | hsv(264, 24%, 16%) | |
| CMYK | cmyk(15%, 24%, 0%, 84%) | |
| CIE LAB | lab(12.59, 4.46, -6.01) | |
| CIE LCH | lch(12.59, 7.49, 306.54) | |
| CIE XYZ | xyz(1.583, 1.497, 2.303) | |
| Decimal | 2301737 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #231F29, 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 #231F29 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.3:1 | Fail | Fail | Fail |
| Sample text | 16.16:1 | Pass | Pass | Pass |
| #231F29 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.16:1 | Pass | Pass | Pass |
| Sample text | 1.3: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 #231F29 looks to people with the most common types of color vision deficiency.
#1d2129Protanopia
no red cones#1e2129Deuteranopia
no green cones#222022Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #231f29; }
.text { color: #231f29; }
.border { border: 2px solid #231f29; }
.transparent { background-color: rgb(35 31 41 / 50%); }
.gradient { background: linear-gradient(to right, #231f29, #281f29); }
Similar colors
#201b20Night Demons#1a161dViolet Void#2c2a35Haiti#252024Ink Black#27252aDarth Vader#222233Black Velvet#16141cBack in Black#16161dEigengrau
Closest common color name: Licorice.
Questions
- What color is #231F29?
- #231F29 is a very dark, grayish violet, closest to the named color Night Demons. It belongs to the black family of colors.
- What is the RGB value of #231F29?
- The RGB value is 35, 31, 41: 35 red, 31 green and 41 blue on a 0 to 255 scale.
- What is the complementary color of #231F29?
- The complementary color is #25291F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #231F29?
- White text. Black text has a contrast ratio of 1.3:1 and white text 16.16:1. WCAG asks for at least 4.5:1 for normal text.