Skip to content
Kolorvia
#312a2f

Color #312a2f

A nearly neutral, gray-leaning very dark magenta.

Conversions

HEX
#312a2f
RGB
rgb(49, 42, 47)
HSL
hsl(317.1, 7.7%, 17.8%)
HSV / HSB
hsv(317.1, 14.3%, 19.2%)
CMYK
cmyk(0%, 14.3%, 4.1%, 80.8%)
LAB
lab(17.98, 4.32, -2.06)
LCH
lch(17.98, 4.79, 334.51)
OKLCH
oklch(29.5%, 0.0134, 336.3)
HWB
hwb(317.1, 16.5%, 80.8%)

Harmony colors

Complementary

#2a312c

Analogous

#2f2a31
#312a2f
#312a2b

Triadic

#312a2f
#2f312a
#2a2f31

Split-complementary

#312a2f
#2b312a
#2a312f

Tetradic

#312a2f
#312c2a
#2a312c
#2a2f31

Square

#312a2f
#312f2a
#2a312c
#2a2b31

Shades

Color #312a2f mixed toward black.

#292327
#211c1f
#181517
#100e10
#080708

Tints

Color #312a2f mixed toward white.

#574a53
#7c6a77
#9e8e9a
#bfb4bb
#dfd9dd

Tones

Color #312a2f mixed toward gray.

#302a2f
#302b2e
#2f2c2e
#2f2c2e
#2e2d2e

Accessibility

Aa White text on this color
13.97:1
Aa Black text on this color
1.5:1

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

Under color vision deficiencies

Protanopia

#2e2e2e · ΔE 5.9

Deuteranopia

#2f2f2e · ΔE 6.6

Tritanopia

#312d2d · ΔE 4

Achromatopsia

#2c2c2c · ΔE 5.9

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

Code

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

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#312a2f (#312a2f) is rgb(49, 42, 47) in RGB.

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