Melanzane color: hex code #342931

#342931 rgb(52, 41, 49)
Shades of black

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
RGBrgb(52, 41, 49)
RGB percentrgb(20.4%, 16.1%, 19.2%)
HSLhsl(316, 12%, 18%)
HSV / HSBhsv(316, 21%, 20%)
CMYKcmyk(0%, 21%, 6%, 80%)
CIE LABlab(18.09, 6.81, -3.26)
CIE LCHlch(18.09, 7.55, 334.41)
CIE XYZxyz(2.763, 2.538, 3.249)
Decimal3418417
Short hexNone (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 #342931RatioAAAAAAA large
Sample text1.51:1FailFailFail
Sample text13.93:1PassPassPass
#342931 as text onRatioAAAAAAA large
Sample text13.93:1PassPassPass
Sample text1.51:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.