Skip to content
Kolorvia
#312b3a

Color #312b3a

A nearly neutral, gray-leaning very dark purple.

Conversions

HEX
#312b3a
RGB
rgb(49, 43, 58)
HSL
hsl(264, 14.9%, 19.8%)
HSV / HSB
hsv(264, 25.9%, 22.7%)
CMYK
cmyk(15.5%, 25.9%, 0%, 77.3%)
LAB
lab(18.74, 6.39, -8.57)
LCH
lch(18.74, 10.69, 306.71)
OKLCH
oklch(30.2%, 0.0278, 303.12)
HWB
hwb(264, 16.9%, 77.3%)

Harmony colors

Complementary

#343a2b

Analogous

#2b2c3a
#312b3a
#392b3a

Triadic

#312b3a
#3a312b
#2b3a31

Split-complementary

#312b3a
#3a392b
#2c3a2b

Tetradic

#312b3a
#3a2b34
#343a2b
#2b3a31

Square

#312b3a
#3a2b2c
#343a2b
#2b3a39

Shades

Color #312b3a mixed toward black.

#292430
#211d27
#18151d
#100e13
#08070a

Tints

Color #312b3a mixed toward white.

#524861
#736588
#968aa8
#b9b1c5
#dcd8e2

Tones

Color #312b3a mixed toward gray.

#312c39
#312d38
#322f36
#323035
#323134

Accessibility

Aa White text on this color
13.66:1
Aa Black text on this color
1.54:1

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

Under color vision deficiencies

Protanopia

#2f2e37 · ΔE 4.5

Deuteranopia

#2f2f36 · ΔE 5.9

Tritanopia

#313433 · ΔE 12

Achromatopsia

#2e2e2e · ΔE 10

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

Code

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

Related colors

Medium Purple #9370db
Rebecca Purple #663399
Blue Violet #8a2be2
Indigo #4b0082
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee

Frequently asked questions

#312b3a (#312b3a) is rgb(49, 43, 58) in RGB.

No, #312b3a 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 #312b3a, 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.