Skip to content
Kolorvia
#340731

Color #340731

A vivid, highly saturated very dark magenta.

Conversions

HEX
#340731
RGB
rgb(52, 7, 49)
HSL
hsl(304, 76.3%, 11.6%)
HSV / HSB
hsv(304, 86.5%, 20.4%)
CMYK
cmyk(0%, 86.5%, 5.8%, 79.6%)
LAB
lab(9.83, 27.77, -15.94)
LCH
lch(9.83, 32.02, 330.14)
OKLCH
oklch(23.5%, 0.0905, 330.97)
HWB
hwb(304, 2.7%, 79.6%)

Harmony colors

Complementary

#07340a

Analogous

#210734
#340731
#34071b

Triadic

#340731
#313407
#073134

Split-complementary

#340731
#1b3407
#073421

Tetradic

#340731
#340a07
#07340a
#073134

Square

#340731
#342107
#07340a
#071b34

Shades

Color #340731 mixed toward black.

#2b0629
#230521
#1a0419
#110210
#090108

Tints

Color #340731 mixed toward white.

#761070
#b919ae
#e438d9
#ed7be6
#f6bdf2

Tones

Color #340731 mixed toward gray.

#300b2e
#2d0f2b
#291227
#251624
#211a21

Accessibility

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

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

Under color vision deficiencies

Protanopia

#27272b · ΔE 20.2

Deuteranopia

#292c29 · ΔE 27.4

Tritanopia

#332523 · ΔE 18.5

Achromatopsia

#1b1b1b · ΔE 21.6

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

Code

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

Related colors

Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8

Frequently asked questions

#340731 (#340731) is rgb(52, 7, 49) in RGB.

No, #340731 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #340731, 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.