#221331 color
The hex color #221331 is a very dark, desaturated violet.
In the RGB color model it is made of 13.3% red, 7.5% green and 19.2% blue (34, 19, 49).
Its hue angle is 270°, with 44% saturation and 13% lightness. For print, the CMYK equivalent is 31% cyan, 61% magenta, 0% yellow and 81% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.42:1).
#221331 color codes
| HEX | #221331 | |
|---|---|---|
| RGB | rgb(34, 19, 49) | |
| RGB percent | rgb(13.3%, 7.5%, 19.2%) | |
| HSL | hsl(270, 44%, 13%) | |
| HSV / HSB | hsv(270, 61%, 19%) | |
| CMYK | cmyk(31%, 61%, 0%, 81%) | |
| CIE LAB | lab(9.22, 15.21, -17.11) | |
| CIE LCH | lch(9.22, 22.89, 311.65) | |
| CIE XYZ | xyz(1.447, 1.028, 3.027) | |
| Decimal | 2233137 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #221331, 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 #221331 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.42:1 | Pass | Pass | Pass |
| #221331 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.42: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 #221331 looks to people with the most common types of color vision deficiency.
#0a1932Protanopia
no red cones#0e1a30Deuteranopia
no green cones#20181fTritanopia
no blue cones#1a1a1aAchromatopsia
no color vision
CSS examples
.background { background-color: #221331; }
.text { color: #221331; }
.border { border: 2px solid #221331; }
.transparent { background-color: rgb(34 19 49 / 50%); }
.gradient { background: linear-gradient(to right, #221331, #311331); }
Similar colors
#1c0f33Midnight Monarch#301934Dark Purple#2b0f2eDark Prom Queen#2a2243Midnight Velvet#220022Black Sabbath#160435Quiet Abyss#3b193fCreatures of the Night#1d0d1dShot in the Dark
Questions
- What color is #221331?
- #221331 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 #221331?
- The RGB value is 34, 19, 49: 34 red, 19 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #221331?
- The complementary color is #223113, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #221331?
- White text. Black text has a contrast ratio of 1.21:1 and white text 17.42:1. WCAG asks for at least 4.5:1 for normal text.