#231D2F color
The hex color #231D2F is a very dark, grayish violet.
In the RGB color model it is made of 13.7% red, 11.4% green and 18.4% blue (35, 29, 47).
Its hue angle is 260°, with 24% saturation and 15% lightness. For print, the CMYK equivalent is 26% cyan, 38% magenta, 0% yellow and 82% black.
The closest named color is Black Velvet (#222233), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.3:1).
#231D2F color codes
| HEX | #231D2F | |
|---|---|---|
| RGB | rgb(35, 29, 47) | |
| RGB percent | rgb(13.7%, 11.4%, 18.4%) | |
| HSL | hsl(260, 24%, 15%) | |
| HSV / HSB | hsv(260, 38%, 18%) | |
| CMYK | cmyk(26%, 38%, 0%, 82%) | |
| CIE LAB | lab(12.23, 7.67, -10.92) | |
| CIE LCH | lch(12.23, 13.34, 305.07) | |
| CIE XYZ | xyz(1.645, 1.441, 2.88) | |
| Decimal | 2301231 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #231D2F, 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 #231D2F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.29:1 | Fail | Fail | Fail |
| Sample text | 16.3:1 | Pass | Pass | Pass |
| #231D2F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.3: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 #231D2F looks to people with the most common types of color vision deficiency.
#192030Protanopia
no red cones#1a202fDeuteranopia
no green cones#212023Tritanopia
no blue cones#202020Achromatopsia
no color vision
CSS examples
.background { background-color: #231d2f; }
.text { color: #231d2f; }
.border { border: 2px solid #231d2f; }
.transparent { background-color: rgb(35 29 47 / 50%); }
.gradient { background: linear-gradient(to right, #231d2f, #2c1d2f); }
Similar colors
#222233Black Velvet#1f2133Eclipse Elixir#151931Dark Knight#111122Corbeau#21263aMidnight Express#2c2a35Haiti#1d0d1dShot in the Dark#161e34Sombre Night
Closest common color name: Dark Purple.
Questions
- What color is #231D2F?
- #231D2F is a very dark, grayish violet, closest to the named color Black Velvet. It belongs to the purple family of colors.
- What is the RGB value of #231D2F?
- The RGB value is 35, 29, 47: 35 red, 29 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #231D2F?
- The complementary color is #292F1D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #231D2F?
- White text. Black text has a contrast ratio of 1.29:1 and white text 16.3:1. WCAG asks for at least 4.5:1 for normal text.