#221627 color
The hex color #221627 is a very dark, desaturated magenta.
In the RGB color model it is made of 13.3% red, 8.6% green and 15.3% blue (34, 22, 39).
Its hue angle is 282°, with 28% saturation and 12% lightness. For print, the CMYK equivalent is 13% cyan, 44% magenta, 0% yellow and 85% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.33:1).
#221627 color codes
| HEX | #221627 | |
|---|---|---|
| RGB | rgb(34, 22, 39) | |
| RGB percent | rgb(13.3%, 8.6%, 15.3%) | |
| HSL | hsl(282, 28%, 12%) | |
| HSV / HSB | hsv(282, 44%, 15%) | |
| CMYK | cmyk(13%, 44%, 0%, 85%) | |
| CIE LAB | lab(9.48, 10.12, -9.31) | |
| CIE LCH | lch(9.48, 13.75, 317.39) | |
| CIE XYZ | xyz(1.313, 1.06, 2.055) | |
| Decimal | 2233895 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #221627, 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 #221627 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.33:1 | Pass | Pass | Pass |
| #221627 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.33: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 #221627 looks to people with the most common types of color vision deficiency.
#131a28Protanopia
no red cones#161b26Deuteranopia
no green cones#22181cTritanopia
no blue cones#1a1a1aAchromatopsia
no color vision
CSS examples
.background { background-color: #221627; }
.text { color: #221627; }
.border { border: 2px solid #221627; }
.transparent { background-color: rgb(34 22 39 / 50%); }
.gradient { background: linear-gradient(to right, #221627, #271624); }
Similar colors
#1d0d1dShot in the Dark#180614Crow#301934Dark Purple#2c1620Black Cherry#110011Glossy Black#222233Black Velvet#111122Corbeau#1a161dViolet Void
Questions
- What color is #221627?
- #221627 is a very dark, desaturated magenta, closest to the named color Shot in the Dark. It belongs to the black family of colors.
- What is the RGB value of #221627?
- The RGB value is 34, 22, 39: 34 red, 22 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #221627?
- The complementary color is #1B2716, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #221627?
- White text. Black text has a contrast ratio of 1.21:1 and white text 17.33:1. WCAG asks for at least 4.5:1 for normal text.