#231D31 color
The hex color #231D31 is a very dark, desaturated violet.
In the RGB color model it is made of 13.7% red, 11.4% green and 19.2% blue (35, 29, 49).
Its hue angle is 258°, with 26% saturation and 15% lightness. For print, the CMYK equivalent is 29% cyan, 41% magenta, 0% yellow and 81% black.
The closest named color is Black Velvet (#222233), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.26:1).
#231D31 color codes
| HEX | #231D31 | |
|---|---|---|
| RGB | rgb(35, 29, 49) | |
| RGB percent | rgb(13.7%, 11.4%, 19.2%) | |
| HSL | hsl(258, 26%, 15%) | |
| HSV / HSB | hsv(258, 41%, 19%) | |
| CMYK | cmyk(29%, 41%, 0%, 81%) | |
| CIE LAB | lab(12.34, 8.28, -12.2) | |
| CIE LCH | lch(12.34, 14.74, 304.16) | |
| CIE XYZ | xyz(1.687, 1.458, 3.098) | |
| Decimal | 2301233 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #231D31, 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 #231D31 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.29:1 | Fail | Fail | Fail |
| Sample text | 16.26:1 | Pass | Pass | Pass |
| #231D31 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.26:1 | Pass | Pass | Pass |
| Sample text | 1.29: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 #231D31 looks to people with the most common types of color vision deficiency.
#182032Protanopia
no red cones#192030Deuteranopia
no green cones#202024Tritanopia
no blue cones#202020Achromatopsia
no color vision
CSS examples
.background { background-color: #231d31; }
.text { color: #231d31; }
.border { border: 2px solid #231d31; }
.transparent { background-color: rgb(35 29 49 / 50%); }
.gradient { background: linear-gradient(to right, #231d31, #2d1d31); }
Similar colors
#222233Black Velvet#1f2133Eclipse Elixir#151931Dark Knight#2a2243Midnight Velvet#111122Corbeau#21263aMidnight Express#222244Black Market#161d3bNightwalker
Closest common color name: Dark Purple.
Questions
- What color is #231D31?
- #231D31 is a very dark, desaturated violet, closest to the named color Black Velvet. It belongs to the purple family of colors.
- What is the RGB value of #231D31?
- The RGB value is 35, 29, 49: 35 red, 29 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #231D31?
- The complementary color is #2B311D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #231D31?
- White text. Black text has a contrast ratio of 1.29:1 and white text 16.26:1. WCAG asks for at least 4.5:1 for normal text.