Skip to content
Kolorvia
#331a2a

Color #331a2a

A muted very dark magenta.

Conversions

HEX
#331a2a
RGB
rgb(51, 26, 42)
HSL
hsl(321.6, 32.5%, 15.1%)
HSV / HSB
hsv(321.6, 49%, 20%)
CMYK
cmyk(0%, 49%, 17.6%, 80%)
LAB
lab(13.29, 15.21, -5.48)
LCH
lch(13.29, 16.17, 340.19)
OKLCH
oklch(25.9%, 0.047, 342.03)
HWB
hwb(321.6, 10.2%, 80%)

Harmony colors

Complementary

#1a3323

Analogous

#301a33
#331a2a
#331a1d

Triadic

#331a2a
#2a331a
#1a2a33

Split-complementary

#331a2a
#1d331a
#1a3330

Tetradic

#331a2a
#33231a
#1a3323
#1a2a33

Square

#331a2a
#33301a
#1a3323
#1a1d33

Shades

Color #331a2a mixed toward black.

#2b1623
#22111c
#1a0d15
#11090e
#090407

Tints

Color #331a2a mixed toward white.

#633251
#934b79
#b6709d
#ce9fbd
#e7cfde

Tones

Color #331a2a mixed toward gray.

#311c29
#2f1e29
#2d2028
#2b2228
#292427

Accessibility

Aa White text on this color
15.89:1
Aa Black text on this color
1.32:1

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

Under color vision deficiencies

Protanopia

#2a2a27 · ΔE 17.9

Deuteranopia

#2b2d26 · ΔE 22.1

Tritanopia

#322423 · ΔE 10

Achromatopsia

#222222 · ΔE 15.3

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

Code

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

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Lavender Blush #fff0f5
Pale Violet Red #db7093
Orchid #da70d6

Frequently asked questions

#331a2a (#331a2a) is rgb(51, 26, 42) in RGB.

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