#342C39 color
The hex color #342C39 is a very dark, grayish violet.
In the RGB color model it is made of 20.4% red, 17.3% green and 22.4% blue (52, 44, 57).
Its hue angle is 277°, with 13% saturation and 20% lightness. For print, the CMYK equivalent is 9% cyan, 23% magenta, 0% yellow and 78% black.
The closest named color is Melanzane (#342931), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.42:1).
#342C39 color codes
| HEX | #342C39 | |
|---|---|---|
| RGB | rgb(52, 44, 57) | |
| RGB percent | rgb(20.4%, 17.3%, 22.4%) | |
| HSL | hsl(277, 13%, 20%) | |
| HSV / HSB | hsv(277, 23%, 22%) | |
| CMYK | cmyk(9%, 23%, 0%, 78%) | |
| CIE LAB | lab(19.34, 6.67, -6.94) | |
| CIE LCH | lch(19.34, 9.62, 313.83) | |
| CIE XYZ | xyz(3.055, 2.827, 4.255) | |
| Decimal | 3419193 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #342C39, 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 #342C39 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.57:1 | Fail | Fail | Fail |
| Sample text | 13.42:1 | Pass | Pass | Pass |
| #342C39 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.42:1 | Pass | Pass | Pass |
| Sample text | 1.57: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 #342C39 looks to people with the most common types of color vision deficiency.
#2a2e3aProtanopia
no red cones#2c2f39Deuteranopia
no green cones#342e30Tritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #342c39; }
.text { color: #342c39; }
.border { border: 2px solid #342c39; }
.transparent { background-color: rgb(52 44 57 / 50%); }
.gradient { background: linear-gradient(to right, #342c39, #392c38); }
Similar colors
#342931Melanzane#2c2a35Haiti#393540Professor Plum#403547Royal Decree#352b30Mystical Shadow#35343fWitches Cauldron#333344Shuriken#443240Voodoo
Closest common color name: Dark Purple.
Questions
- What color is #342C39?
- #342C39 is a very dark, grayish violet, closest to the named color Melanzane. It belongs to the black family of colors.
- What is the RGB value of #342C39?
- The RGB value is 52, 44, 57: 52 red, 44 green and 57 blue on a 0 to 255 scale.
- What is the complementary color of #342C39?
- The complementary color is #31392C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #342C39?
- White text. Black text has a contrast ratio of 1.57:1 and white text 13.42:1. WCAG asks for at least 4.5:1 for normal text.