Skip to content
Kolorvia
#31293c

Color #31293c

A muted very dark purple.

Conversions

HEX
#31293c
RGB
rgb(49, 41, 60)
HSL
hsl(265.3, 18.8%, 19.8%)
HSV / HSB
hsv(265.3, 31.7%, 23.5%)
CMYK
cmyk(18.3%, 31.7%, 0%, 76.5%)
LAB
lab(18.21, 8.33, -10.76)
LCH
lch(18.21, 13.61, 307.75)
OKLCH
oklch(29.8%, 0.0354, 303.6)
HWB
hwb(265.3, 16.1%, 76.5%)

Harmony colors

Complementary

#343c29

Analogous

#292a3c
#31293c
#3a293c

Triadic

#31293c
#3c3129
#293c31

Split-complementary

#31293c
#3c3a29
#2a3c29

Tetradic

#31293c
#3c2934
#343c29
#293c31

Square

#31293c
#3c292a
#343c29
#293c3a

Shades

Color #31293c mixed toward black.

#292232
#211b28
#19141e
#100e14
#08070a

Tints

Color #31293c mixed toward white.

#524564
#73608d
#9686ac
#b9aec8
#dcd7e3

Tones

Color #31293c mixed toward gray.

#312b3a
#312c39
#322e37
#322f36
#323134

Accessibility

Aa White text on this color
13.88:1
Aa Black text on this color
1.51:1

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

Under color vision deficiencies

Protanopia

#2e2e38 · ΔE 6.6

Deuteranopia

#2e2f37 · ΔE 8.1

Tritanopia

#313534 · ΔE 14.5

Achromatopsia

#2c2c2c · ΔE 12

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

Code

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

Related colors

Rebecca Purple #663399
Medium Purple #9370db
Blue Violet #8a2be2
Indigo #4b0082
Dark Orchid #9932cc
Dark Slate Blue #483d8b

Frequently asked questions

#31293c (#31293c) is rgb(49, 41, 60) in RGB.

No, #31293c 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 #31293c, 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.