Skip to content
Kolorvia
#340b27

Color #340b27

A moderately saturated very dark magenta.

Conversions

HEX
#340b27
RGB
rgb(52, 11, 39)
HSL
hsl(319, 65.1%, 12.4%)
HSV / HSB
hsv(319, 78.8%, 20.4%)
CMYK
cmyk(0%, 78.8%, 25%, 79.6%)
LAB
lab(9.92, 24.01, -8.37)
LCH
lch(9.92, 25.43, 340.78)
OKLCH
oklch(23.3%, 0.0754, 342.72)
HWB
hwb(319, 4.3%, 79.6%)

Harmony colors

Complementary

#0b3418

Analogous

#2d0b34
#340b27
#340b13

Triadic

#340b27
#27340b
#0b2734

Split-complementary

#340b27
#13340b
#0b342d

Tetradic

#340b27
#34180b
#0b3418
#0b2734

Square

#340b27
#342d0b
#0b3418
#0b1334

Shades

Color #340b27 mixed toward black.

#2c0921
#23071a
#1a0614
#11040d
#090207

Tints

Color #340b27 mixed toward white.

#721855
#af2583
#d847aa
#e584c6
#f2c2e3

Tones

Color #340b27 mixed toward gray.

#310e26
#2d1225
#2a1523
#261922
#231c21

Accessibility

Aa White text on this color
17.17:1
Aa Black text on this color
1.22:1

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

Under color vision deficiencies

Protanopia

#282722 · ΔE 23.7

Deuteranopia

#2a2c21 · ΔE 29.8

Tritanopia

#331e1d · ΔE 13

Achromatopsia

#1b1b1b · ΔE 19.9

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

Code

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

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#340b27 (#340b27) is rgb(52, 11, 39) in RGB.

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