Skip to content
Kolorvia
#340a27

Color #340a27

A moderately saturated very dark magenta.

Conversions

HEX
#340a27
RGB
rgb(52, 10, 39)
HSL
hsl(318.6, 67.7%, 12.2%)
HSV / HSB
hsv(318.6, 80.8%, 20.4%)
CMYK
cmyk(0%, 80.8%, 25%, 79.6%)
LAB
lab(9.75, 24.49, -8.64)
LCH
lch(9.75, 25.97, 340.57)
OKLCH
oklch(23.2%, 0.077, 342.55)
HWB
hwb(318.6, 3.9%, 79.6%)

Harmony colors

Complementary

#0a3417

Analogous

#2c0a34
#340a27
#340a12

Triadic

#340a27
#27340a
#0a2734

Split-complementary

#340a27
#12340a
#0a342c

Tetradic

#340a27
#34170a
#0a3417
#0a2734

Square

#340a27
#342c0a
#0a3417
#0a1234

Shades

Color #340a27 mixed toward black.

#2b0821
#23071a
#1a0514
#11030d
#090207

Tints

Color #340a27 mixed toward white.

#731656
#b12285
#db43ac
#e782c8
#f3c0e3

Tones

Color #340a27 mixed toward gray.

#310e26
#2d1124
#2a1523
#261822
#231c20

Accessibility

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

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

Under color vision deficiencies

Protanopia

#282722 · ΔE 24

Deuteranopia

#292c21 · ΔE 30.6

Tritanopia

#331e1d · ΔE 13.3

Achromatopsia

#1b1b1b · ΔE 20.1

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

Code

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

Related colors

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

Frequently asked questions

#340a27 (#340a27) is rgb(52, 10, 39) in RGB.

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