#211B38 color
The hex color #211B38 is a very dark, desaturated violet.
In the RGB color model it is made of 12.9% red, 10.6% green and 22% blue (33, 27, 56).
Its hue angle is 252°, with 35% saturation and 16% lightness. For print, the CMYK equivalent is 41% cyan, 52% magenta, 0% yellow and 78% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.42:1).
#211B38 color codes
| HEX | #211B38 | |
|---|---|---|
| RGB | rgb(33, 27, 56) | |
| RGB percent | rgb(12.9%, 10.6%, 22%) | |
| HSL | hsl(252, 35%, 16%) | |
| HSV / HSB | hsv(252, 52%, 22%) | |
| CMYK | cmyk(41%, 52%, 0%, 78%) | |
| CIE LAB | lab(11.91, 11.3, -17.91) | |
| CIE LCH | lch(11.91, 21.18, 302.24) | |
| CIE XYZ | xyz(1.733, 1.393, 3.918) | |
| Decimal | 2169656 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #211B38, 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 #211B38 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.28:1 | Fail | Fail | Fail |
| Sample text | 16.42:1 | Pass | Pass | Pass |
| #211B38 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.42:1 | Pass | Pass | Pass |
| Sample text | 1.28: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 #211B38 looks to people with the most common types of color vision deficiency.
#112039Protanopia
no red cones#121f37Deuteranopia
no green cones#1b2126Tritanopia
no blue cones#1f1f1fAchromatopsia
no color vision
CSS examples
.background { background-color: #211b38; }
.text { color: #211b38; }
.border { border: 2px solid #211b38; }
.transparent { background-color: rgb(33 27 56 / 50%); }
.gradient { background: linear-gradient(to right, #211b38, #2f1b38); }
Similar colors
#2a2243Midnight Velvet#222244Black Market#161d3bNightwalker#1c0f33Midnight Monarch#151931Dark Knight#211d49Azulado#2a2551Pāua#231c4dSilent Orbit
Closest common color name: Dark Purple.
Questions
- What color is #211B38?
- #211B38 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 #211B38?
- The RGB value is 33, 27, 56: 33 red, 27 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #211B38?
- The complementary color is #32381B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #211B38?
- White text. Black text has a contrast ratio of 1.28:1 and white text 16.42:1. WCAG asks for at least 4.5:1 for normal text.