#34213B color
The hex color #34213B is a very dark, desaturated magenta.
In the RGB color model it is made of 20.4% red, 12.9% green and 23.1% blue (52, 33, 59).
Its hue angle is 284°, with 28% saturation and 18% lightness. For print, the CMYK equivalent is 12% cyan, 44% magenta, 0% yellow and 77% black.
The closest named color is Dark Purple (#301934), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.72:1).
#34213B color codes
| HEX | #34213B | |
|---|---|---|
| RGB | rgb(52, 33, 59) | |
| RGB percent | rgb(20.4%, 12.9%, 23.1%) | |
| HSL | hsl(284, 28%, 18%) | |
| HSV / HSB | hsv(284, 44%, 23%) | |
| CMYK | cmyk(12%, 44%, 0%, 77%) | |
| CIE LAB | lab(16.17, 14.81, -13.18) | |
| CIE LCH | lch(16.17, 19.82, 318.33) | |
| CIE XYZ | xyz(2.749, 2.134, 4.404) | |
| Decimal | 3416379 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #34213B, 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 #34213B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.43:1 | Fail | Fail | Fail |
| Sample text | 14.72:1 | Pass | Pass | Pass |
| #34213B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.72:1 | Pass | Pass | Pass |
| Sample text | 1.43: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 #34213B looks to people with the most common types of color vision deficiency.
#1d273cProtanopia
no red cones#22293aDeuteranopia
no green cones#34242bTritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #34213b; }
.text { color: #34213b; }
.border { border: 2px solid #34213b; }
.transparent { background-color: rgb(52 33 59 / 50%); }
.gradient { background: linear-gradient(to right, #34213b, #3b2135); }
Similar colors
#301934Dark Purple#442244Purple Void#2a2243Midnight Velvet#3b193fCreatures of the Night#3c2f4eSanctum of Shadows#2b0f2eDark Prom Queen#391531Nightly Voyager#372d52Midnight Pie
Questions
- What color is #34213B?
- #34213B is a very dark, desaturated magenta, closest to the named color Dark Purple. It belongs to the purple family of colors.
- What is the RGB value of #34213B?
- The RGB value is 52, 33, 59: 52 red, 33 green and 59 blue on a 0 to 255 scale.
- What is the complementary color of #34213B?
- The complementary color is #283B21, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #34213B?
- White text. Black text has a contrast ratio of 1.43:1 and white text 14.72:1. WCAG asks for at least 4.5:1 for normal text.