#23182B color
The hex color #23182B is a very dark, desaturated violet.
In the RGB color model it is made of 13.7% red, 9.4% green and 16.9% blue (35, 24, 43).
Its hue angle is 275°, with 28% saturation and 13% lightness. For print, the CMYK equivalent is 19% cyan, 44% magenta, 0% yellow and 83% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.98:1).
#23182B color codes
| HEX | #23182B | |
|---|---|---|
| RGB | rgb(35, 24, 43) | |
| RGB percent | rgb(13.7%, 9.4%, 16.9%) | |
| HSL | hsl(275, 28%, 13%) | |
| HSV / HSB | hsv(275, 44%, 17%) | |
| CMYK | cmyk(19%, 44%, 0%, 83%) | |
| CIE LAB | lab(10.45, 10.18, -10.77) | |
| CIE LCH | lch(10.45, 14.82, 313.39) | |
| CIE XYZ | xyz(1.456, 1.185, 2.437) | |
| Decimal | 2299947 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #23182B, 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 #23182B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.98:1 | Pass | Pass | Pass |
| #23182B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.98: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 #23182B looks to people with the most common types of color vision deficiency.
#141c2cProtanopia
no red cones#171d2aDeuteranopia
no green cones#221b1fTritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #23182b; }
.text { color: #23182b; }
.border { border: 2px solid #23182b; }
.transparent { background-color: rgb(35 24 43 / 50%); }
.gradient { background: linear-gradient(to right, #23182b, #2b182a); }
Similar colors
#1d0d1dShot in the Dark#301934Dark Purple#222233Black Velvet#180614Crow#2a2243Midnight Velvet#111122Corbeau#151931Dark Knight#1f2133Eclipse Elixir
Questions
- What color is #23182B?
- #23182B is a very dark, desaturated violet, closest to the named color Shot in the Dark. It belongs to the black family of colors.
- What is the RGB value of #23182B?
- The RGB value is 35, 24, 43: 35 red, 24 green and 43 blue on a 0 to 255 scale.
- What is the complementary color of #23182B?
- The complementary color is #202B18, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #23182B?
- White text. Black text has a contrast ratio of 1.24:1 and white text 16.98:1. WCAG asks for at least 4.5:1 for normal text.