Skip to content
Kolorvia
#342c41

Color #342c41

A muted dark purple.

Conversions

HEX
#342c41
RGB
rgb(52, 44, 65)
HSL
hsl(262.9, 19.3%, 21.4%)
HSV / HSB
hsv(262.9, 32.3%, 25.5%)
CMYK
cmyk(20%, 32.3%, 0%, 74.5%)
LAB
lab(19.69, 8.79, -11.9)
LCH
lch(19.69, 14.79, 306.45)
OKLCH
oklch(31.1%, 0.0384, 301.71)
HWB
hwb(262.9, 17.3%, 74.5%)

Harmony colors

Complementary

#39412c

Analogous

#2c2f41
#342c41
#3f2c41

Triadic

#342c41
#41342c
#2c4134

Split-complementary

#342c41
#413f2c
#2f412c

Tetradic

#342c41
#412c39
#39412c
#2c4134

Square

#342c41
#412c2f
#39412c
#2c413f

Shades

Color #342c41 mixed toward black.

#2b2536
#231d2b
#1a1621
#110f16
#09070b

Tints

Color #342c41 mixed toward white.

#544769
#746291
#9687ae
#b9afc9
#dcd7e4

Tones

Color #342c41 mixed toward gray.

#342e3f
#35303e
#35313c
#36333a
#363538

Accessibility

Aa White text on this color
13.27:1
Aa Black text on this color
1.58:1

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

Under color vision deficiencies

Protanopia

#31313d · ΔE 6.4

Deuteranopia

#31323c · ΔE 7.7

Tritanopia

#343938 · ΔE 15.5

Achromatopsia

#303030 · ΔE 12.7

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

Code

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

Related colors

Medium Purple #9370db
Rebecca Purple #663399
Blue Violet #8a2be2
Indigo #4b0082
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee

Frequently asked questions

#342c41 (#342c41) is rgb(52, 44, 65) in RGB.

No, #342c41 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #342c41, 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.