Skip to content
Kolorvia
#340d36

Color #340d36

A moderately saturated very dark magenta.

Conversions

HEX
#340d36
RGB
rgb(52, 13, 54)
HSL
hsl(297.1, 61.2%, 13.1%)
HSV / HSB
hsv(297.1, 75.9%, 21.2%)
CMYK
cmyk(3.7%, 75.9%, 0%, 78.8%)
LAB
lab(11.17, 25.96, -17.47)
LCH
lch(11.17, 31.29, 326.06)
OKLCH
oklch(24.5%, 0.0861, 325.79)
HWB
hwb(297.1, 5.1%, 78.8%)

Harmony colors

Complementary

#0f360d

Analogous

#1f0d36
#340d36
#360d23

Triadic

#340d36
#36340d
#0d3634

Split-complementary

#340d36
#23360d
#0d361f

Tetradic

#340d36
#360d0f
#0f360d
#0d3634

Square

#340d36
#361f0d
#0f360d
#0d2336

Shades

Color #340d36 mixed toward black.

#2b0b2d
#230924
#1a061b
#110412
#090209

Tints

Color #340d36 mixed toward white.

#6d1b71
#a72aad
#cd4cd4
#de88e2
#eec3f1

Tones

Color #340d36 mixed toward gray.

#311032
#2e142f
#2b172c
#281b28
#241e25

Accessibility

Aa White text on this color
16.71:1
Aa Black text on this color
1.26:1

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

Under color vision deficiencies

Protanopia

#28282f · ΔE 18.3

Deuteranopia

#2a2c2e · ΔE 20

Tritanopia

#332928 · ΔE 18.9

Achromatopsia

#1e1e1e · ΔE 21.2

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

Code

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

Related colors

Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8
Violet #ee82ee

Frequently asked questions

#340d36 (#340d36) is rgb(52, 13, 54) in RGB.

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