Skip to content
Kolorvia
#312830

Color #312830

A nearly neutral, gray-leaning very dark magenta.

Conversions

HEX
#312830
RGB
rgb(49, 40, 48)
HSL
hsl(306.7, 10.1%, 17.5%)
HSV / HSB
hsv(306.7, 18.4%, 19.2%)
CMYK
cmyk(0%, 18.4%, 2%, 80.8%)
LAB
lab(17.39, 5.95, -3.65)
LCH
lch(17.39, 6.98, 328.47)
OKLCH
oklch(29%, 0.0192, 329.7)
HWB
hwb(306.7, 15.7%, 80.8%)

Harmony colors

Complementary

#283129

Analogous

#2e2831
#312830
#31282c

Triadic

#312830
#303128
#283031

Split-complementary

#312830
#2c3128
#28312e

Tetradic

#312830
#312928
#283129
#283031

Square

#312830
#312e28
#283129
#282c31

Shades

Color #312830 mixed toward black.

#292128
#211b20
#191418
#100d10
#080708

Tints

Color #312830 mixed toward white.

#584856
#7e677c
#a08b9e
#c0b2be
#dfd8df

Tones

Color #312830 mixed toward gray.

#302930
#302a2f
#2f2a2e
#2e2b2e
#2d2c2d

Accessibility

Aa White text on this color
14.22:1
Aa Black text on this color
1.48:1

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

Under color vision deficiencies

Protanopia

#2d2d2e · ΔE 7.4

Deuteranopia

#2e2e2e · ΔE 8

Tritanopia

#312d2c · ΔE 6.8

Achromatopsia

#2b2b2b · ΔE 7.9

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

Code

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

Related colors

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

Frequently asked questions

#312830 (#312830) is rgb(49, 40, 48) in RGB.

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