Skip to content
Kolorvia
#342a3e

Color #342a3e

A muted dark purple.

Conversions

HEX
#342a3e
RGB
rgb(52, 42, 62)
HSL
hsl(270, 19.2%, 20.4%)
HSV / HSB
hsv(270, 32.3%, 24.3%)
CMYK
cmyk(16.1%, 32.3%, 0%, 75.7%)
LAB
lab(18.94, 9.36, -10.99)
LCH
lch(18.94, 14.44, 310.42)
OKLCH
oklch(30.5%, 0.0377, 307.02)
HWB
hwb(270, 16.5%, 75.7%)

Harmony colors

Complementary

#343e2a

Analogous

#2a2a3e
#342a3e
#3e2a3e

Triadic

#342a3e
#3e342a
#2a3e34

Split-complementary

#342a3e
#3e3e2a
#2a3e2a

Tetradic

#342a3e
#3e2a34
#343e2a
#2a3e34

Square

#342a3e
#3e2a2a
#343e2a
#2a3e3e

Shades

Color #342a3e mixed toward black.

#2b2334
#231c29
#1a151f
#110e15
#09070a

Tints

Color #342a3e mixed toward white.

#564566
#78618f
#9a86ad
#bbaec8
#ddd7e4

Tones

Color #342a3e mixed toward gray.

#342c3c
#342d3b
#342f39
#343137
#343236

Accessibility

Aa White text on this color
13.58:1
Aa Black text on this color
1.55:1

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

Under color vision deficiencies

Protanopia

#30303a · ΔE 7.6

Deuteranopia

#313139 · ΔE 8.5

Tritanopia

#343636 · ΔE 13.8

Achromatopsia

#2e2e2e · ΔE 12.7

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

Code

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

Related colors

Rebecca Purple #663399
Blue Violet #8a2be2
Indigo #4b0082
Dark Orchid #9932cc
Medium Purple #9370db
Dark Violet #9400d3

Frequently asked questions

#342a3e (#342a3e) is rgb(52, 42, 62) in RGB.

No, #342a3e 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 #342a3e, 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.