#221F25 color
The hex color #221F25 is a very dark, grayish violet.
In the RGB color model it is made of 13.3% red, 12.2% green and 14.5% blue (34, 31, 37).
Its hue angle is 270°, with 9% saturation and 13% lightness. For print, the CMYK equivalent is 8% cyan, 16% magenta, 0% yellow and 85% black.
The closest named color is Ink Black (#252024), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.27:1).
#221F25 color codes
| HEX | #221F25 | |
|---|---|---|
| RGB | rgb(34, 31, 37) | |
| RGB percent | rgb(13.3%, 12.2%, 14.5%) | |
| HSL | hsl(270, 9%, 13%) | |
| HSV / HSB | hsv(270, 16%, 15%) | |
| CMYK | cmyk(8%, 16%, 0%, 85%) | |
| CIE LAB | lab(12.31, 2.93, -3.54) | |
| CIE LCH | lch(12.31, 4.59, 309.64) | |
| CIE XYZ | xyz(1.484, 1.454, 1.952) | |
| Decimal | 2236197 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #221F25, 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 #221F25 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.29:1 | Fail | Fail | Fail |
| Sample text | 16.27:1 | Pass | Pass | Pass |
| #221F25 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.27:1 | Pass | Pass | Pass |
| Sample text | 1.29: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 #221F25 looks to people with the most common types of color vision deficiency.
#1e2025Protanopia
no red cones#1f2025Deuteranopia
no green cones#222021Tritanopia
no blue cones#202020Achromatopsia
no color vision
CSS examples
.background { background-color: #221f25; }
.text { color: #221f25; }
.border { border: 2px solid #221f25; }
.transparent { background-color: rgb(34 31 37 / 50%); }
.gradient { background: linear-gradient(to right, #221f25, #251f25); }
Similar colors
#252024Ink Black#201b20Night Demons#27252aDarth Vader#1a161dViolet Void#1e1e21Inkwell Inception#241f20Velvet Black#211e1fUmbra#28282dAnthracite
Closest common color name: Licorice.
Questions
- What color is #221F25?
- #221F25 is a very dark, grayish violet, closest to the named color Ink Black. It belongs to the black family of colors.
- What is the RGB value of #221F25?
- The RGB value is 34, 31, 37: 34 red, 31 green and 37 blue on a 0 to 255 scale.
- What is the complementary color of #221F25?
- The complementary color is #22251F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #221F25?
- White text. Black text has a contrast ratio of 1.29:1 and white text 16.27:1. WCAG asks for at least 4.5:1 for normal text.