#231936 color
The hex color #231936 is a very dark, desaturated violet.
In the RGB color model it is made of 13.7% red, 9.8% green and 21.2% blue (35, 25, 54).
Its hue angle is 261°, with 37% saturation and 15% lightness. For print, the CMYK equivalent is 35% cyan, 54% magenta, 0% yellow and 79% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.62:1).
#231936 color codes
| HEX | #231936 | |
|---|---|---|
| RGB | rgb(35, 25, 54) | |
| RGB percent | rgb(13.7%, 9.8%, 21.2%) | |
| HSL | hsl(261, 37%, 15%) | |
| HSV / HSB | hsv(261, 54%, 21%) | |
| CMYK | cmyk(35%, 54%, 0%, 79%) | |
| CIE LAB | lab(11.41, 12.79, -17.26) | |
| CIE LCH | lch(11.41, 21.48, 306.55) | |
| CIE XYZ | xyz(1.706, 1.319, 3.654) | |
| Decimal | 2300214 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #231936, 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 #231936 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.26:1 | Fail | Fail | Fail |
| Sample text | 16.62:1 | Pass | Pass | Pass |
| #231936 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.62:1 | Pass | Pass | Pass |
| Sample text | 1.26: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 #231936 looks to people with the most common types of color vision deficiency.
#101e37Protanopia
no red cones#121e35Deuteranopia
no green cones#1f1e24Tritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #231936; }
.text { color: #231936; }
.border { border: 2px solid #231936; }
.transparent { background-color: rgb(35 25 54 / 50%); }
.gradient { background: linear-gradient(to right, #231936, #321936); }
Similar colors
#2a2243Midnight Velvet#1c0f33Midnight Monarch#222244Black Market#301934Dark Purple#211d49Azulado#151931Dark Knight#161d3bNightwalker#2b0f2eDark Prom Queen
Questions
- What color is #231936?
- #231936 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 #231936?
- The RGB value is 35, 25, 54: 35 red, 25 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #231936?
- The complementary color is #2C3619, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #231936?
- White text. Black text has a contrast ratio of 1.26:1 and white text 16.62:1. WCAG asks for at least 4.5:1 for normal text.