#34224E color
The hex color #34224E is a dark, desaturated violet.
In the RGB color model it is made of 20.4% red, 13.3% green and 30.6% blue (52, 34, 78).
Its hue angle is 265°, with 39% saturation and 22% lightness. For print, the CMYK equivalent is 33% cyan, 56% magenta, 0% yellow and 69% black.
The closest named color is Stormy Night (#372354), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.14:1).
#34224E color codes
| HEX | #34224E | |
|---|---|---|
| RGB | rgb(52, 34, 78) | |
| RGB percent | rgb(20.4%, 13.3%, 30.6%) | |
| HSL | hsl(265, 39%, 22%) | |
| HSV / HSB | hsv(265, 56%, 31%) | |
| CMYK | cmyk(33%, 56%, 0%, 69%) | |
| CIE LAB | lab(17.57, 19.44, -24.09) | |
| CIE LCH | lch(17.57, 30.96, 308.9) | |
| CIE XYZ | xyz(3.363, 2.424, 7.497) | |
| Decimal | 3416654 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #34224E, 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 #34224E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.14:1 | Pass | Pass | Pass |
| #34224E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.14: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 #34224E looks to people with the most common types of color vision deficiency.
#132b50Protanopia
no red cones#182b4dDeuteranopia
no green cones#2f2a34Tritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #34224e; }
.text { color: #34224e; }
.border { border: 2px solid #34224e; }
.transparent { background-color: rgb(52 34 78 / 50%); }
.gradient { background: linear-gradient(to right, #34224e, #4a224e); }
Similar colors
#372354Stormy Night#2a2551Pāua#372d52Midnight Pie#2a2243Midnight Velvet#322c56Purple Noir#231c4dSilent Orbit#211d49Azulado#48295bAcai
Closest common color name: Dark Purple.
Questions
- What color is #34224E?
- #34224E 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 #34224E?
- The RGB value is 52, 34, 78: 52 red, 34 green and 78 blue on a 0 to 255 scale.
- What is the complementary color of #34224E?
- The complementary color is #3C4E22, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #34224E?
- White text. Black text has a contrast ratio of 1.48:1 and white text 14.14:1. WCAG asks for at least 4.5:1 for normal text.