Skip to content
Kolorvia
#31272d

Color #31272d

A nearly neutral, gray-leaning very dark magenta.

Conversions

HEX
#31272d
RGB
rgb(49, 39, 45)
HSL
hsl(324, 11.4%, 17.3%)
HSV / HSB
hsv(324, 20.4%, 19.2%)
CMYK
cmyk(0%, 20.4%, 8.2%, 80.8%)
LAB
lab(16.96, 5.96, -2.17)
LCH
lch(16.96, 6.34, 339.99)
OKLCH
oklch(28.6%, 0.0181, 341.67)
HWB
hwb(324, 15.3%, 80.8%)

Harmony colors

Complementary

#27312b

Analogous

#302731
#31272d
#312728

Triadic

#31272d
#2d3127
#272d31

Split-complementary

#31272d
#283127
#273130

Tetradic

#31272d
#312b27
#27312b
#272d31

Square

#31272d
#313027
#27312b
#272831

Shades

Color #31272d mixed toward black.

#292126
#211a1e
#191417
#100d0f
#080708

Tints

Color #31272d mixed toward white.

#584651
#7f6575
#a28a98
#c1b1ba
#e0d8dd

Tones

Color #31272d mixed toward gray.

#30282d
#2f292d
#2f2a2d
#2e2a2c
#2d2b2c

Accessibility

Aa White text on this color
14.4:1
Aa Black text on this color
1.46:1

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

Under color vision deficiencies

Protanopia

#2d2d2c · ΔE 8.3

Deuteranopia

#2e2e2b · ΔE 9.6

Tritanopia

#312b2a · ΔE 5.3

Achromatopsia

#2a2a2a · ΔE 7.6

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

Code

CSS
background-color: #31272d;
Tailwind (arbitrary value)
bg-[#31272d]

Related colors

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

Frequently asked questions

#31272d (#31272d) is rgb(49, 39, 45) in RGB.

No, #31272d 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 #31272d, 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.