#221934 color
The hex color #221934 is a very dark, desaturated violet.
In the RGB color model it is made of 13.3% red, 9.8% green and 20.4% blue (34, 25, 52).
Its hue angle is 260°, with 35% saturation and 15% lightness. For print, the CMYK equivalent is 35% cyan, 52% magenta, 0% yellow and 80% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.71:1).
#221934 color codes
| HEX | #221934 | |
|---|---|---|
| RGB | rgb(34, 25, 52) | |
| RGB percent | rgb(13.3%, 9.8%, 20.4%) | |
| HSL | hsl(260, 35%, 15%) | |
| HSV / HSB | hsv(260, 52%, 20%) | |
| CMYK | cmyk(35%, 52%, 0%, 80%) | |
| CIE LAB | lab(11.16, 11.8, -16.22) | |
| CIE LCH | lch(11.16, 20.06, 306.04) | |
| CIE XYZ | xyz(1.627, 1.283, 3.41) | |
| Decimal | 2234676 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #221934, 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 #221934 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.26:1 | Fail | Fail | Fail |
| Sample text | 16.71:1 | Pass | Pass | Pass |
| #221934 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.71:1 | Pass | Pass | Pass |
| Sample text | 1.26: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 #221934 looks to people with the most common types of color vision deficiency.
#111e35Protanopia
no red cones#131e33Deuteranopia
no green cones#1e1e24Tritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #221934; }
.text { color: #221934; }
.border { border: 2px solid #221934; }
.transparent { background-color: rgb(34 25 52 / 50%); }
.gradient { background: linear-gradient(to right, #221934, #2f1934); }
Similar colors
#2a2243Midnight Velvet#1c0f33Midnight Monarch#222244Black Market#301934Dark Purple#151931Dark Knight#161d3bNightwalker#211d49Azulado#2b0f2eDark Prom Queen
Questions
- What color is #221934?
- #221934 is a very dark, desaturated violet, closest to the named color Midnight Velvet. It belongs to the black family of colors.
- What is the RGB value of #221934?
- The RGB value is 34, 25, 52: 34 red, 25 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #221934?
- The complementary color is #2B3419, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #221934?
- White text. Black text has a contrast ratio of 1.26:1 and white text 16.71:1. WCAG asks for at least 4.5:1 for normal text.