#201727 color
The hex color #201727 is a very dark, desaturated violet.
In the RGB color model it is made of 12.5% red, 9% green and 15.3% blue (32, 23, 39).
Its hue angle is 274°, with 26% saturation and 12% lightness. For print, the CMYK equivalent is 18% cyan, 41% magenta, 0% yellow and 85% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 3.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.31:1).
#201727 color codes
| HEX | #201727 | |
|---|---|---|
| RGB | rgb(32, 23, 39) | |
| RGB percent | rgb(12.5%, 9%, 15.3%) | |
| HSL | hsl(274, 26%, 12%) | |
| HSV / HSB | hsv(274, 41%, 15%) | |
| CMYK | cmyk(18%, 41%, 0%, 85%) | |
| CIE LAB | lab(9.53, 8.54, -9.25) | |
| CIE LCH | lch(9.53, 12.59, 312.69) | |
| CIE XYZ | xyz(1.268, 1.066, 2.058) | |
| Decimal | 2103079 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #201727, 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 #201727 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.31:1 | Pass | Pass | Pass |
| #201727 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.31:1 | Pass | Pass | Pass |
| Sample text | 1.21: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 #201727 looks to people with the most common types of color vision deficiency.
#141a28Protanopia
no red cones#161b27Deuteranopia
no green cones#1f191dTritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #201727; }
.text { color: #201727; }
.border { border: 2px solid #201727; }
.transparent { background-color: rgb(32 23 39 / 50%); }
.gradient { background: linear-gradient(to right, #201727, #271726); }
Similar colors
#1d0d1dShot in the Dark#180614Crow#111122Corbeau#222233Black Velvet#110011Glossy Black#1a161dViolet Void#1f2133Eclipse Elixir#151931Dark Knight
Closest common color name: Dark Purple.
Questions
- What color is #201727?
- #201727 is a very dark, desaturated violet, closest to the named color Shot in the Dark. It belongs to the black family of colors.
- What is the RGB value of #201727?
- The RGB value is 32, 23, 39: 32 red, 23 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #201727?
- The complementary color is #1E2717, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #201727?
- White text. Black text has a contrast ratio of 1.21:1 and white text 17.31:1. WCAG asks for at least 4.5:1 for normal text.