#231631 color
The hex color #231631 is a very dark, desaturated violet.
In the RGB color model it is made of 13.7% red, 8.6% green and 19.2% blue (35, 22, 49).
Its hue angle is 269°, with 38% saturation and 14% lightness. For print, the CMYK equivalent is 29% cyan, 55% magenta, 0% yellow and 81% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.07:1).
#231631 color codes
| HEX | #231631 | |
|---|---|---|
| RGB | rgb(35, 22, 49) | |
| RGB percent | rgb(13.7%, 8.6%, 19.2%) | |
| HSL | hsl(269, 38%, 14%) | |
| HSV / HSB | hsv(269, 55%, 19%) | |
| CMYK | cmyk(29%, 55%, 0%, 81%) | |
| CIE LAB | lab(10.21, 13.41, -15.54) | |
| CIE LCH | lch(10.21, 20.53, 310.8) | |
| CIE XYZ | xyz(1.534, 1.153, 3.047) | |
| Decimal | 2299441 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #231631, 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 #231631 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.23:1 | Fail | Fail | Fail |
| Sample text | 17.07:1 | Pass | Pass | Pass |
| #231631 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.07:1 | Pass | Pass | Pass |
| Sample text | 1.23: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 #231631 looks to people with the most common types of color vision deficiency.
#0f1b32Protanopia
no red cones#121c30Deuteranopia
no green cones#211b21Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #231631; }
.text { color: #231631; }
.border { border: 2px solid #231631; }
.transparent { background-color: rgb(35 22 49 / 50%); }
.gradient { background: linear-gradient(to right, #231631, #311631); }
Similar colors
#1c0f33Midnight Monarch#301934Dark Purple#2a2243Midnight Velvet#2b0f2eDark Prom Queen#1d0d1dShot in the Dark#222244Black Market#220022Black Sabbath#151931Dark Knight
Questions
- What color is #231631?
- #231631 is a very dark, desaturated violet, closest to the named color Midnight Monarch. It belongs to the black family of colors.
- What is the RGB value of #231631?
- The RGB value is 35, 22, 49: 35 red, 22 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #231631?
- The complementary color is #243116, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #231631?
- White text. Black text has a contrast ratio of 1.23:1 and white text 17.07:1. WCAG asks for at least 4.5:1 for normal text.