Skip to content
Kolorvia
#342a48

Color #342a48

A muted dark purple.

Conversions

HEX
#342a48
RGB
rgb(52, 42, 72)
HSL
hsl(260, 26.3%, 22.4%)
HSV / HSB
hsv(260, 41.7%, 28.2%)
CMYK
cmyk(27.8%, 41.7%, 0%, 71.8%)
LAB
lab(19.45, 12.17, -17.05)
LCH
lch(19.45, 20.95, 305.52)
OKLCH
oklch(31%, 0.054, 298.56)
HWB
hwb(260, 16.5%, 71.8%)

Harmony colors

Complementary

#3e482a

Analogous

#2a2f48
#342a48
#432a48

Triadic

#342a48
#48342a
#2a4834

Split-complementary

#342a48
#48432a
#2f482a

Tetradic

#342a48
#482a3e
#3e482a
#2a4834

Square

#342a48
#482a2f
#3e482a
#2a4843

Shades

Color #342a48 mixed toward black.

#2b233c
#231c30
#1a1524
#110e18
#09070c

Tints

Color #342a48 mixed toward white.

#524272
#705b9b
#9382b6
#b7acce
#dbd5e7

Tones

Color #342a48 mixed toward gray.

#352d46
#362f43
#373241
#37343e
#38373c

Accessibility

Aa White text on this color
13.37:1
Aa Black text on this color
1.57:1

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

Under color vision deficiencies

Protanopia

#303042 · ΔE 6.9

Deuteranopia

#313141 · ΔE 7.7

Tritanopia

#343d3c · ΔE 19.7

Achromatopsia

#2f2f2f · ΔE 15.9

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

Code

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

Related colors

Medium Purple #9370db
Rebecca Purple #663399
Blue Violet #8a2be2
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd

Frequently asked questions

#342a48 (#342a48) is rgb(52, 42, 72) in RGB.

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