Skip to content
Kolorvia
#312a30

Color #312a30

A nearly neutral, gray-leaning very dark magenta.

Conversions

HEX
#312a30
RGB
rgb(49, 42, 48)
HSL
hsl(308.6, 7.7%, 17.8%)
HSV / HSB
hsv(308.6, 14.3%, 19.2%)
CMYK
cmyk(0%, 14.3%, 2%, 80.8%)
LAB
lab(18.02, 4.56, -2.7)
LCH
lch(18.02, 5.3, 329.37)
OKLCH
oklch(29.5%, 0.0146, 330.45)
HWB
hwb(308.6, 16.5%, 80.8%)

Harmony colors

Complementary

#2a312b

Analogous

#2e2a31
#312a30
#312a2c

Triadic

#312a30
#30312a
#2a3031

Split-complementary

#312a30
#2c312a
#2a312e

Tetradic

#312a30
#312b2a
#2a312b
#2a3031

Square

#312a30
#312e2a
#2a312b
#2a2c31

Shades

Color #312a30 mixed toward black.

#292328
#211c20
#181518
#100e10
#080708

Tints

Color #312a30 mixed toward white.

#574a55
#7c6a7a
#9e8e9c
#bfb4bd
#dfd9de

Tones

Color #312a30 mixed toward gray.

#302a2f
#302b2f
#2f2c2f
#2f2c2e
#2e2d2e

Accessibility

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

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

Under color vision deficiencies

Protanopia

#2e2e2f · ΔE 5.8

Deuteranopia

#2f2f2e · ΔE 7.1

Tritanopia

#312e2d · ΔE 5.6

Achromatopsia

#2c2c2c · ΔE 6.3

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

Code

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

Related colors

Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8

Frequently asked questions

#312a30 (#312a30) is rgb(49, 42, 48) in RGB.

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