Skip to content
Kolorvia
#340f3d

Color #340f3d

A moderately saturated very dark purple.

Conversions

HEX
#340f3d
RGB
rgb(52, 15, 61)
HSL
hsl(288.3, 60.5%, 14.9%)
HSV / HSB
hsv(288.3, 75.4%, 23.9%)
CMYK
cmyk(14.8%, 75.4%, 0%, 76.1%)
LAB
lab(12.02, 26.52, -21.14)
LCH
lch(12.02, 33.91, 321.44)
OKLCH
oklch(25.3%, 0.0905, 319.21)
HWB
hwb(288.3, 5.9%, 76.1%)

Harmony colors

Complementary

#183d0f

Analogous

#1d0f3d
#340f3d
#3d0f2f

Triadic

#340f3d
#3d340f
#0f3d34

Split-complementary

#340f3d
#2f3d0f
#0f3d1d

Tetradic

#340f3d
#3d0f18
#183d0f
#0f3d34

Square

#340f3d
#3d1d0f
#183d0f
#0f2f3d

Shades

Color #340f3d mixed toward black.

#2b0d33
#230a29
#1a081e
#110514
#09030a

Tints

Color #340f3d mixed toward white.

#661d77
#972cb1
#bb51d4
#d18be2
#e8c5f1

Tones

Color #340f3d mixed toward gray.

#321339
#2f1735
#2d1b31
#2b1e2e
#28222a

Accessibility

Aa White text on this color
16.38:1
Aa Black text on this color
1.28:1

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

Under color vision deficiencies

Protanopia

#282836 · ΔE 15.6

Deuteranopia

#2a2c34 · ΔE 18.8

Tritanopia

#332f2d · ΔE 22.2

Achromatopsia

#202020 · ΔE 21.6

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

Code

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

Related colors

Medium Orchid #ba55d3
Dark Violet #9400d3
Dark Orchid #9932cc
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd

Frequently asked questions

#340f3d (#340f3d) is rgb(52, 15, 61) in RGB.

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