#342939 color

#342939 rgb(52, 41, 57)
Shades of gray

The hex color #342939 is a very dark, grayish magenta.

In the RGB color model it is made of 20.4% red, 16.1% green and 22.4% blue (52, 41, 57).

Its hue angle is 281°, with 16% saturation and 19% lightness. For print, the CMYK equivalent is 9% cyan, 28% magenta, 0% yellow and 78% black.

The closest named color is Royal Decree (#403547), a difference of 4 ΔE, a small difference.

White text is the more readable choice on this background (contrast 13.8:1).

#342939 color codes

HEX#342939
RGBrgb(52, 41, 57)
RGB percentrgb(20.4%, 16.1%, 22.4%)
HSLhsl(281, 16%, 19%)
HSV / HSBhsv(281, 28%, 22%)
CMYKcmyk(9%, 28%, 0%, 78%)
CIE LABlab(18.42, 8.75, -8.34)
CIE LCHlch(18.42, 12.09, 316.36)
CIE XYZxyz(2.948, 2.611, 4.219)
Decimal3418425
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #342939, 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 #342939RatioAAAAAAA large
Sample text1.52:1FailFailFail
Sample text13.8:1PassPassPass
#342939 as text onRatioAAAAAAA large
Sample text13.8:1PassPassPass
Sample text1.52: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 #342939 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #342939; }
.text { color: #342939; }
.border { border: 2px solid #342939; }
.transparent { background-color: rgb(52 41 57 / 50%); }
.gradient { background: linear-gradient(to right, #342939, #392936); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #342939?
#342939 is a very dark, grayish magenta, closest to the named color Royal Decree. It belongs to the gray family of colors.
What is the RGB value of #342939?
The RGB value is 52, 41, 57: 52 red, 41 green and 57 blue on a 0 to 255 scale.
What is the complementary color of #342939?
The complementary color is #2E3929, found by rotating the hue 180° on the color wheel.
Is black or white text better on #342939?
White text. Black text has a contrast ratio of 1.52:1 and white text 13.8:1. WCAG asks for at least 4.5:1 for normal text.