#22004C color
The hex color #22004C is a very dark, vivid violet.
In the RGB color model it is made of 13.3% red, 0% green and 29.8% blue (34, 0, 76).
Its hue angle is 267°, with 100% saturation and 15% lightness. For print, the CMYK equivalent is 55% cyan, 100% magenta, 0% yellow and 70% black.
The closest named color is Your Darkness (#220044), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.91:1).
#22004C color codes
| HEX | #22004C | |
|---|---|---|
| RGB | rgb(34, 0, 76) | |
| RGB percent | rgb(13.3%, 0%, 29.8%) | |
| HSL | hsl(267, 100%, 15%) | |
| HSV / HSB | hsv(267, 100%, 30%) | |
| CMYK | cmyk(55%, 100%, 0%, 70%) | |
| CIE LAB | lab(7.78, 34.68, -38.72) | |
| CIE LCH | lch(7.78, 51.98, 311.85) | |
| CIE XYZ | xyz(1.964, 0.862, 6.899) | |
| Decimal | 2228300 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #22004C, 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 #22004C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.17:1 | Fail | Fail | Fail |
| Sample text | 17.91:1 | Pass | Pass | Pass |
| #22004C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.91:1 | Pass | Pass | Pass |
| Sample text | 1.17: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 #22004C looks to people with the most common types of color vision deficiency.
#00184eProtanopia
no red cones#00164bDeuteranopia
no green cones#141829Tritanopia
no blue cones#171717Achromatopsia
no color vision
CSS examples
.background { background-color: #22004c; }
.text { color: #22004c; }
.border { border: 2px solid #22004c; }
.transparent { background-color: rgb(34 0 76 / 50%); }
.gradient { background: linear-gradient(to right, #22004c, #48004c); }
Similar colors
#220044Your Darkness#330055Hollow Knight#340059Cotinga Purple#0f084bSilent Twilight#0a0555Ravenclaw#220066Blackmail#2d135fVoldemort#37115cWicked Purple
Closest common color name: Midnight Blue.
Questions
- What color is #22004C?
- #22004C is a very dark, vivid violet, closest to the named color Your Darkness. It belongs to the black family of colors.
- What is the RGB value of #22004C?
- The RGB value is 34, 0, 76: 34 red, 0 green and 76 blue on a 0 to 255 scale.
- What is the complementary color of #22004C?
- The complementary color is #2A4C00, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #22004C?
- White text. Black text has a contrast ratio of 1.17:1 and white text 17.91:1. WCAG asks for at least 4.5:1 for normal text.