Skip to content
Kolorvia
#340e4a

Color #340e4a

A moderately saturated very dark purple.

Conversions

HEX
#340e4a
RGB
rgb(52, 14, 74)
HSL
hsl(278, 68.2%, 17.3%)
HSV / HSB
hsv(278, 81.1%, 29%)
CMYK
cmyk(29.7%, 81.1%, 0%, 71%)
LAB
lab(12.85, 30.23, -28.92)
LCH
lch(12.85, 41.84, 316.27)
OKLCH
oklch(26.2%, 0.1067, 309.79)
HWB
hwb(278, 5.5%, 71%)

Harmony colors

Complementary

#244a0e

Analogous

#160e4a
#340e4a
#4a0e42

Triadic

#340e4a
#4a340e
#0e4a34

Split-complementary

#340e4a
#424a0e
#0e4a16

Tetradic

#340e4a
#4a0e24
#244a0e
#0e4a34

Square

#340e4a
#4a160e
#244a0e
#0e424a

Shades

Color #340e4a mixed toward black.

#2b0c3e
#230931
#1a0725
#110519
#09020c

Tints

Color #340e4a mixed toward white.

#5e1985
#8724c0
#a94edd
#c589e9
#e2c4f4

Tones

Color #340e4a mixed toward gray.

#331345
#311840
#301d3b
#2f2236
#2d2731

Accessibility

Aa White text on this color
16.06:1
Aa Black text on this color
1.31:1

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

Under color vision deficiencies

Protanopia

#282841 · ΔE 12.7

Deuteranopia

#2a2c3f · ΔE 15.1

Tritanopia

#333937 · ΔE 24

Achromatopsia

#212121 · ΔE 23.1

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

Code

CSS
background-color: #340e4a;
Tailwind (arbitrary value)
bg-[#340e4a]

Related colors

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

Frequently asked questions

#340e4a (#340e4a) is rgb(52, 14, 74) in RGB.

No, #340e4a 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 #340e4a, 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.