#20102B color
The hex color #20102B is a very dark, desaturated violet.
In the RGB color model it is made of 12.5% red, 6.3% green and 16.9% blue (32, 16, 43).
Its hue angle is 276°, with 46% saturation and 12% lightness. For print, the CMYK equivalent is 26% cyan, 63% magenta, 0% yellow and 83% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 3.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.94:1).
#20102B color codes
| HEX | #20102B | |
|---|---|---|
| RGB | rgb(32, 16, 43) | |
| RGB percent | rgb(12.5%, 6.3%, 16.9%) | |
| HSL | hsl(276, 46%, 12%) | |
| HSV / HSB | hsv(276, 63%, 17%) | |
| CMYK | cmyk(26%, 63%, 0%, 83%) | |
| CIE LAB | lab(7.7, 14.83, -15.11) | |
| CIE LCH | lch(7.7, 21.17, 314.47) | |
| CIE XYZ | xyz(1.217, 0.852, 2.385) | |
| Decimal | 2101291 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #20102B, 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 #20102B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.17:1 | Fail | Fail | Fail |
| Sample text | 17.94:1 | Pass | Pass | Pass |
| #20102B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.94:1 | Pass | Pass | Pass |
| Sample text | 1.17: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 #20102B looks to people with the most common types of color vision deficiency.
#09162cProtanopia
no red cones#0e172aDeuteranopia
no green cones#1f151bTritanopia
no blue cones#171717Achromatopsia
no color vision
CSS examples
.background { background-color: #20102b; }
.text { color: #20102b; }
.border { border: 2px solid #20102b; }
.transparent { background-color: rgb(32 16 43 / 50%); }
.gradient { background: linear-gradient(to right, #20102b, #2b1029); }
Similar colors
#1c0f33Midnight Monarch#2b0f2eDark Prom Queen#301934Dark Purple#220022Black Sabbath#1d0d1dShot in the Dark#2a2243Midnight Velvet#160435Quiet Abyss#220033Coal Mine
Questions
- What color is #20102B?
- #20102B 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 #20102B?
- The RGB value is 32, 16, 43: 32 red, 16 green and 43 blue on a 0 to 255 scale.
- What is the complementary color of #20102B?
- The complementary color is #1B2B10, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #20102B?
- White text. Black text has a contrast ratio of 1.17:1 and white text 17.94:1. WCAG asks for at least 4.5:1 for normal text.