Skip to content
Kolorvia
#31182a

Color #31182a

A muted very dark magenta.

Conversions

HEX
#31182a
RGB
rgb(49, 24, 42)
HSL
hsl(316.8, 34.2%, 14.3%)
HSV / HSB
hsv(316.8, 51%, 19.2%)
CMYK
cmyk(0%, 51%, 14.3%, 80.8%)
LAB
lab(12.44, 15.71, -6.8)
LCH
lch(12.44, 17.12, 336.59)
OKLCH
oklch(25.2%, 0.0493, 338.33)
HWB
hwb(316.8, 9.4%, 80.8%)

Harmony colors

Complementary

#18311f

Analogous

#2b1831
#31182a
#31181d

Triadic

#31182a
#2a3118
#182a31

Split-complementary

#31182a
#1d3118
#18312b

Tetradic

#31182a
#311f18
#18311f
#182a31

Square

#31182a
#312b18
#18311f
#181d31

Shades

Color #31182a mixed toward black.

#291423
#21101c
#180c15
#10080e
#080407

Tints

Color #31182a mixed toward white.

#623054
#93487e
#b76ca2
#cf9dc1
#e7cee0

Tones

Color #31182a mixed toward gray.

#2f1a29
#2d1c28
#2b1e27
#292026
#272225

Accessibility

Aa White text on this color
16.22:1
Aa Black text on this color
1.29:1

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

Under color vision deficiencies

Protanopia

#282826 · ΔE 17.6

Deuteranopia

#292b26 · ΔE 21.5

Tritanopia

#302323 · ΔE 10.5

Achromatopsia

#202020 · ΔE 15.7

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

Code

CSS
background-color: #31182a;
Tailwind (arbitrary value)
bg-[#31182a]

Related colors

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

Frequently asked questions

#31182a (#31182a) is rgb(49, 24, 42) in RGB.

No, #31182a 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 #31182a, 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.