Melanzane color: hex code #342931
Melanzane has the hex code #342931. It is a very dark, grayish magenta.
In the RGB color model it is made of 20.4% red, 16.1% green and 19.2% blue (52, 41, 49).
Its hue angle is 316°, with 12% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 21% magenta, 6% yellow and 80% black.
White text is the more readable choice on this background (contrast 13.93:1).
Melanzane (#342931) color codes
| HEX | #342931 | |
|---|---|---|
| RGB | rgb(52, 41, 49) | |
| RGB percent | rgb(20.4%, 16.1%, 19.2%) | |
| HSL | hsl(316, 12%, 18%) | |
| HSV / HSB | hsv(316, 21%, 20%) | |
| CMYK | cmyk(0%, 21%, 6%, 80%) | |
| CIE LAB | lab(18.09, 6.81, -3.26) | |
| CIE LCH | lch(18.09, 7.55, 334.41) | |
| CIE XYZ | xyz(2.763, 2.538, 3.249) | |
| Decimal | 3418417 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Melanzane, 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 #342931 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.51:1 | Fail | Fail | Fail |
| Sample text | 13.93:1 | Pass | Pass | Pass |
| #342931 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.93:1 | Pass | Pass | Pass |
| Sample text | 1.51: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 #342931 looks to people with the most common types of color vision deficiency.
#292b31Protanopia
no red cones#2c2d31Deuteranopia
no green cones#35292cTritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #342931; }
.text { color: #342931; }
.border { border: 2px solid #342931; }
.transparent { background-color: rgb(52 41 49 / 50%); }
.gradient { background: linear-gradient(to right, #342931, #34292c); }
Similar colors
#352b30Mystical Shadow#34282cSmoky Charcoal#372528Aubergine#3b2b2cHavana#2c2a35Haiti#3b2f2fSmoked Black Coffee#393540Professor Plum#252024Ink Black
Closest common color name: Licorice.
See #342931 on its hex code page
Questions
- What color is #342931?
- #342931 is a very dark, grayish magenta known as Melanzane. It belongs to the black family of colors.
- What is the RGB value of Melanzane?
- The RGB value is 52, 41, 49: 52 red, 41 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of Melanzane?
- The complementary color is #29342C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #342931?
- White text. Black text has a contrast ratio of 1.51:1 and white text 13.93:1. WCAG asks for at least 4.5:1 for normal text.