#34224C color
The hex color #34224C is a dark, desaturated violet.
In the RGB color model it is made of 20.4% red, 13.3% green and 29.8% blue (52, 34, 76).
Its hue angle is 266°, with 38% saturation and 22% lightness. For print, the CMYK equivalent is 32% cyan, 55% magenta, 0% yellow and 70% black.
The closest named color is Stormy Night (#372354), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.2:1).
#34224C color codes
| HEX | #34224C | |
|---|---|---|
| RGB | rgb(52, 34, 76) | |
| RGB percent | rgb(20.4%, 13.3%, 29.8%) | |
| HSL | hsl(266, 38%, 22%) | |
| HSV / HSB | hsv(266, 55%, 30%) | |
| CMYK | cmyk(32%, 55%, 0%, 70%) | |
| CIE LAB | lab(17.44, 18.85, -22.94) | |
| CIE LCH | lch(17.44, 29.69, 309.41) | |
| CIE XYZ | xyz(3.292, 2.396, 7.125) | |
| Decimal | 3416652 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #34224C, 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 #34224C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.2:1 | Pass | Pass | Pass |
| #34224C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.2:1 | Pass | Pass | Pass |
| Sample text | 1.48: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 #34224C looks to people with the most common types of color vision deficiency.
#152b4dProtanopia
no red cones#192b4bDeuteranopia
no green cones#2f2a33Tritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #34224c; }
.text { color: #34224c; }
.border { border: 2px solid #34224c; }
.transparent { background-color: rgb(52 34 76 / 50%); }
.gradient { background: linear-gradient(to right, #34224c, #49224c); }
Similar colors
#372354Stormy Night#2a2243Midnight Velvet#372d52Midnight Pie#2a2551Pāua#322c56Purple Noir#231c4dSilent Orbit#211d49Azulado#48295bAcai
Closest common color name: Dark Purple.
Questions
- What color is #34224C?
- #34224C is a dark, desaturated violet, closest to the named color Stormy Night. It belongs to the purple family of colors.
- What is the RGB value of #34224C?
- The RGB value is 52, 34, 76: 52 red, 34 green and 76 blue on a 0 to 255 scale.
- What is the complementary color of #34224C?
- The complementary color is #3A4C22, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #34224C?
- White text. Black text has a contrast ratio of 1.48:1 and white text 14.2:1. WCAG asks for at least 4.5:1 for normal text.