Skip to content
Kolorvia
#331e2f

Color #331e2f

A muted very dark magenta.

Conversions

HEX
#331e2f
RGB
rgb(51, 30, 47)
HSL
hsl(311.4, 25.9%, 15.9%)
HSV / HSB
hsv(311.4, 41.2%, 20%)
CMYK
cmyk(0%, 41.2%, 7.8%, 80%)
LAB
lab(14.61, 13.56, -7.09)
LCH
lch(14.61, 15.3, 332.4)
OKLCH
oklch(26.9%, 0.0431, 333.85)
HWB
hwb(311.4, 11.8%, 80%)

Harmony colors

Complementary

#1e3322

Analogous

#2d1e33
#331e2f
#331e25

Triadic

#331e2f
#2f331e
#1e2f33

Split-complementary

#331e2f
#25331e
#1e332d

Tetradic

#331e2f
#33221e
#1e3322
#1e2f33

Square

#331e2f
#332d1e
#1e3322
#1e2533

Shades

Color #331e2f mixed toward black.

#2b1927
#22141f
#1a0f18
#110a10
#090508

Tints

Color #331e2f mixed toward white.

#603959
#8d5382
#b078a5
#caa5c3
#e5d2e1

Tones

Color #331e2f mixed toward gray.

#31202e
#30222d
#2e232c
#2c252b
#2a272a

Accessibility

Aa White text on this color
15.36:1
Aa Black text on this color
1.37:1

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

Under color vision deficiencies

Protanopia

#2b2b2c · ΔE 14.1

Deuteranopia

#2c2e2b · ΔE 18.6

Tritanopia

#322928 · ΔE 11.3

Achromatopsia

#252525 · ΔE 14.5

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

Code

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

Related colors

Orchid #da70d6
Medium Violet Red #c71585
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080

Frequently asked questions

#331e2f (#331e2f) is rgb(51, 30, 47) in RGB.

No, #331e2f 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 #331e2f, 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.