#231D3A color
The hex color #231D3A is a very dark, desaturated violet.
In the RGB color model it is made of 13.7% red, 11.4% green and 22.7% blue (35, 29, 58).
Its hue angle is 252°, with 33% saturation and 17% lightness. For print, the CMYK equivalent is 40% cyan, 50% magenta, 0% yellow and 77% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.05:1).
#231D3A color codes
| HEX | #231D3A | |
|---|---|---|
| RGB | rgb(35, 29, 58) | |
| RGB percent | rgb(13.7%, 11.4%, 22.7%) | |
| HSL | hsl(252, 33%, 17%) | |
| HSV / HSB | hsv(252, 50%, 23%) | |
| CMYK | cmyk(40%, 50%, 0%, 77%) | |
| CIE LAB | lab(12.87, 11.17, -17.8) | |
| CIE LCH | lch(12.87, 21.01, 302.1) | |
| CIE XYZ | xyz(1.896, 1.542, 4.2) | |
| Decimal | 2301242 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #231D3A, 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 #231D3A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.31:1 | Fail | Fail | Fail |
| Sample text | 16.05:1 | Pass | Pass | Pass |
| #231D3A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.05: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 #231D3A looks to people with the most common types of color vision deficiency.
#14223bProtanopia
no red cones#142139Deuteranopia
no green cones#1d2228Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #231d3a; }
.text { color: #231d3a; }
.border { border: 2px solid #231d3a; }
.transparent { background-color: rgb(35 29 58 / 50%); }
.gradient { background: linear-gradient(to right, #231d3a, #321d3a); }
Similar colors
#2a2243Midnight Velvet#222244Black Market#161d3bNightwalker#151931Dark Knight#211d49Azulado#1c0f33Midnight Monarch#2a2551Pāua#372d52Midnight Pie
Closest common color name: Dark Purple.
Questions
- What color is #231D3A?
- #231D3A 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 #231D3A?
- The RGB value is 35, 29, 58: 35 red, 29 green and 58 blue on a 0 to 255 scale.
- What is the complementary color of #231D3A?
- The complementary color is #343A1D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #231D3A?
- White text. Black text has a contrast ratio of 1.31:1 and white text 16.05:1. WCAG asks for at least 4.5:1 for normal text.