#231B32 color
The hex color #231B32 is a very dark, desaturated violet.
In the RGB color model it is made of 13.7% red, 10.6% green and 19.6% blue (35, 27, 50).
Its hue angle is 261°, with 30% saturation and 15% lightness. For print, the CMYK equivalent is 30% cyan, 46% magenta, 0% yellow and 80% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 4.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.48:1).
#231B32 color codes
| HEX | #231B32 | |
|---|---|---|
| RGB | rgb(35, 27, 50) | |
| RGB percent | rgb(13.7%, 10.6%, 19.6%) | |
| HSL | hsl(261, 30%, 15%) | |
| HSV / HSB | hsv(261, 46%, 20%) | |
| CMYK | cmyk(30%, 46%, 0%, 80%) | |
| CIE LAB | lab(11.77, 10.06, -13.81) | |
| CIE LCH | lch(11.77, 17.09, 306.07) | |
| CIE XYZ | xyz(1.661, 1.371, 3.194) | |
| Decimal | 2300722 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #231B32, 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 #231B32 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.27:1 | Fail | Fail | Fail |
| Sample text | 16.48:1 | Pass | Pass | Pass |
| #231B32 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.48:1 | Pass | Pass | Pass |
| Sample text | 1.27: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 #231B32 looks to people with the most common types of color vision deficiency.
#151f33Protanopia
no red cones#171f31Deuteranopia
no green cones#201f24Tritanopia
no blue cones#1f1f1fAchromatopsia
no color vision
CSS examples
.background { background-color: #231b32; }
.text { color: #231b32; }
.border { border: 2px solid #231b32; }
.transparent { background-color: rgb(35 27 50 / 50%); }
.gradient { background: linear-gradient(to right, #231b32, #2e1b32); }
Similar colors
#2a2243Midnight Velvet#151931Dark Knight#222233Black Velvet#222244Black Market#301934Dark Purple#1f2133Eclipse Elixir#1c0f33Midnight Monarch#1d0d1dShot in the Dark
Questions
- What color is #231B32?
- #231B32 is a very dark, desaturated violet, closest to the named color Midnight Velvet. It belongs to the black family of colors.
- What is the RGB value of #231B32?
- The RGB value is 35, 27, 50: 35 red, 27 green and 50 blue on a 0 to 255 scale.
- What is the complementary color of #231B32?
- The complementary color is #2A321B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #231B32?
- White text. Black text has a contrast ratio of 1.27:1 and white text 16.48:1. WCAG asks for at least 4.5:1 for normal text.