#231E36 color
The hex color #231E36 is a very dark, desaturated violet.
In the RGB color model it is made of 13.7% red, 11.8% green and 21.2% blue (35, 30, 54).
Its hue angle is 253°, with 29% saturation and 16% lightness. For print, the CMYK equivalent is 35% cyan, 44% magenta, 0% yellow and 79% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.03:1).
#231E36 color codes
| HEX | #231E36 | |
|---|---|---|
| RGB | rgb(35, 30, 54) | |
| RGB percent | rgb(13.7%, 11.8%, 21.2%) | |
| HSL | hsl(253, 29%, 16%) | |
| HSV / HSB | hsv(253, 44%, 21%) | |
| CMYK | cmyk(35%, 44%, 0%, 79%) | |
| CIE LAB | lab(12.94, 9.12, -14.85) | |
| CIE LCH | lch(12.94, 17.43, 301.55) | |
| CIE XYZ | xyz(1.823, 1.552, 3.693) | |
| Decimal | 2301494 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #231E36, 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 #231E36 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.31:1 | Fail | Fail | Fail |
| Sample text | 16.03:1 | Pass | Pass | Pass |
| #231E36 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.03:1 | Pass | Pass | Pass |
| Sample text | 1.31: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 #231E36 looks to people with the most common types of color vision deficiency.
#172237Protanopia
no red cones#182135Deuteranopia
no green cones#1f2227Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #231e36; }
.text { color: #231e36; }
.border { border: 2px solid #231e36; }
.transparent { background-color: rgb(35 30 54 / 50%); }
.gradient { background: linear-gradient(to right, #231e36, #2f1e36); }
Similar colors
#2a2243Midnight Velvet#151931Dark Knight#222244Black Market#222233Black Velvet#1f2133Eclipse Elixir#161d3bNightwalker#2c2e47Midnight Masquerade#21263aMidnight Express
Closest common color name: Dark Purple.
Questions
- What color is #231E36?
- #231E36 is a very dark, desaturated violet, closest to the named color Midnight Velvet. It belongs to the blue family of colors.
- What is the RGB value of #231E36?
- The RGB value is 35, 30, 54: 35 red, 30 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #231E36?
- The complementary color is #31361E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #231E36?
- White text. Black text has a contrast ratio of 1.31:1 and white text 16.03:1. WCAG asks for at least 4.5:1 for normal text.