Skip to content
Kolorvia
#342a31

Color #342a31

A nearly neutral, gray-leaning very dark magenta.

Conversions

HEX
#342a31
RGB
rgb(52, 42, 49)
HSL
hsl(318, 10.6%, 18.4%)
HSV / HSB
hsv(318, 19.2%, 20.4%)
CMYK
cmyk(0%, 19.2%, 5.8%, 79.6%)
LAB
lab(18.4, 6.12, -2.8)
LCH
lch(18.4, 6.73, 335.42)
OKLCH
oklch(29.9%, 0.019, 337.08)
HWB
hwb(318, 16.5%, 79.6%)

Harmony colors

Complementary

#2a342d

Analogous

#322a34
#342a31
#342a2c

Triadic

#342a31
#31342a
#2a3134

Split-complementary

#342a31
#2c342a
#2a3432

Tetradic

#342a31
#342d2a
#2a342d
#2a3134

Square

#342a31
#34322a
#2a342d
#2a2c34

Shades

Color #342a31 mixed toward black.

#2b2329
#231c21
#1a1518
#110e10
#090708

Tints

Color #342a31 mixed toward white.

#5a4955
#816879
#a28c9b
#c1b2bd
#e0d9de

Tones

Color #342a31 mixed toward gray.

#332b31
#322c30
#312c30
#312d30
#302e2f

Accessibility

Aa White text on this color
13.8:1
Aa Black text on this color
1.52:1

White text reads better on this background (13.8:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#30302f · ΔE 8.6

Deuteranopia

#31312f · ΔE 9.3

Tritanopia

#342e2e · ΔE 5.1

Achromatopsia

#2d2d2d · ΔE 7.9

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #342a31;
Tailwind (arbitrary value)
bg-[#342a31]

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#342a31 (#342a31) is rgb(52, 42, 49) in RGB.

No, #342a31 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #342a31, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.