Skip to content
Kolorvia
#312734

Color #312734

A nearly neutral, gray-leaning very dark purple.

Conversions

HEX
#312734
RGB
rgb(49, 39, 52)
HSL
hsl(286.2, 14.3%, 17.8%)
HSV / HSB
hsv(286.2, 25%, 20.4%)
CMYK
cmyk(5.8%, 25%, 0%, 79.6%)
LAB
lab(17.24, 7.63, -6.68)
LCH
lch(17.24, 10.14, 318.8)
OKLCH
oklch(29%, 0.0271, 318.44)
HWB
hwb(286.2, 15.3%, 79.6%)

Harmony colors

Complementary

#2a3427

Analogous

#2a2734
#312734
#342730

Triadic

#312734
#343127
#273431

Split-complementary

#312734
#303427
#27342a

Tetradic

#312734
#34272a
#2a3427
#273431

Square

#312734
#342a27
#2a3427
#273034

Shades

Color #312734 mixed toward black.

#29202b
#211a23
#18131a
#100d11
#080609

Tints

Color #312734 mixed toward white.

#57455c
#7c6384
#9e87a5
#bfafc3
#dfd7e1

Tones

Color #312734 mixed toward gray.

#302833
#302932
#2f2a31
#2f2b30
#2e2c2e

Accessibility

Aa White text on this color
14.28:1
Aa Black text on this color
1.47:1

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

Under color vision deficiencies

Protanopia

#2d2d31 · ΔE 8.1

Deuteranopia

#2e2e30 · ΔE 9.2

Tritanopia

#312f2e · ΔE 10.1

Achromatopsia

#2a2a2a · ΔE 10.2

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

Code

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

Related colors

Medium Orchid #ba55d3
Dark Violet #9400d3
Dark Orchid #9932cc
Indigo #4b0082
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#312734 (#312734) is rgb(49, 39, 52) in RGB.

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