#221928 color
The hex color #221928 is a very dark, grayish violet.
In the RGB color model it is made of 13.3% red, 9.8% green and 15.7% blue (34, 25, 40).
Its hue angle is 276°, with 23% saturation and 13% lightness. For print, the CMYK equivalent is 15% cyan, 38% magenta, 0% yellow and 84% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.97:1).
#221928 color codes
| HEX | #221928 | |
|---|---|---|
| RGB | rgb(34, 25, 40) | |
| RGB percent | rgb(13.3%, 9.8%, 15.7%) | |
| HSL | hsl(276, 23%, 13%) | |
| HSV / HSB | hsv(276, 38%, 16%) | |
| CMYK | cmyk(15%, 38%, 0%, 84%) | |
| CIE LAB | lab(10.47, 8.17, -8.53) | |
| CIE LCH | lch(10.47, 11.81, 313.79) | |
| CIE XYZ | xyz(1.39, 1.189, 2.163) | |
| Decimal | 2234664 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #221928, 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 #221928 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.97:1 | Pass | Pass | Pass |
| #221928 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.97:1 | Pass | Pass | Pass |
| Sample text | 1.24: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 #221928 looks to people with the most common types of color vision deficiency.
#171c29Protanopia
no red cones#181d28Deuteranopia
no green cones#211b1eTritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #221928; }
.text { color: #221928; }
.border { border: 2px solid #221928; }
.transparent { background-color: rgb(34 25 40 / 50%); }
.gradient { background: linear-gradient(to right, #221928, #281927); }
Similar colors
#1d0d1dShot in the Dark#222233Black Velvet#180614Crow#1a161dViolet Void#111122Corbeau#1f2133Eclipse Elixir#110011Glossy Black#201b20Night Demons
Closest common color name: Dark Purple.
Questions
- What color is #221928?
- #221928 is a very dark, grayish violet, closest to the named color Shot in the Dark. It belongs to the black family of colors.
- What is the RGB value of #221928?
- The RGB value is 34, 25, 40: 34 red, 25 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #221928?
- The complementary color is #1F2819, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #221928?
- White text. Black text has a contrast ratio of 1.24:1 and white text 16.97:1. WCAG asks for at least 4.5:1 for normal text.