Skip to content
Kolorvia
#312c3a

Color #312c3a

A nearly neutral, gray-leaning dark purple.

Conversions

HEX
#312c3a
RGB
rgb(49, 44, 58)
HSL
hsl(261.4, 13.7%, 20%)
HSV / HSB
hsv(261.4, 24.1%, 22.7%)
CMYK
cmyk(15.5%, 24.1%, 0%, 77.3%)
LAB
lab(19.06, 5.69, -8.09)
LCH
lch(19.06, 9.89, 305.12)
OKLCH
oklch(30.4%, 0.0257, 301.15)
HWB
hwb(261.4, 17.3%, 77.3%)

Harmony colors

Complementary

#353a2c

Analogous

#2c2e3a
#312c3a
#382c3a

Triadic

#312c3a
#3a312c
#2c3a31

Split-complementary

#312c3a
#3a382c
#2e3a2c

Tetradic

#312c3a
#3a2c35
#353a2c
#2c3a31

Square

#312c3a
#3a2c2e
#353a2c
#2c3a38

Shades

Color #312c3a mixed toward black.

#292530
#211d27
#18161d
#100f13
#08070a

Tints

Color #312c3a mixed toward white.

#524961
#726787
#958ba7
#b8b2c4
#dcd8e2

Tones

Color #312c3a mixed toward gray.

#312d39
#322e38
#323036
#323135
#333234

Accessibility

Aa White text on this color
13.53:1
Aa Black text on this color
1.55:1

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

Under color vision deficiencies

Protanopia

#2f2f37 · ΔE 4.7

Deuteranopia

#2f3036 · ΔE 6.2

Tritanopia

#313434 · ΔE 10.7

Achromatopsia

#2e2e2e · ΔE 9.3

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

Code

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

Related colors

Medium Purple #9370db
Rebecca Purple #663399
Blue Violet #8a2be2
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd

Frequently asked questions

#312c3a (#312c3a) is rgb(49, 44, 58) in RGB.

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