Skip to content
Kolorvia
#1f1d1f

Color #1f1d1f

A nearly neutral, gray-leaning very dark magenta.

Conversions

HEX
#1f1d1f
RGB
rgb(31, 29, 31)
HSL
hsl(300, 3.3%, 11.8%)
HSV / HSB
hsv(300, 6.5%, 12.2%)
CMYK
cmyk(0%, 6.5%, 0%, 87.8%)
LAB
lab(11.06, 1.45, -1.03)
LCH
lch(11.06, 1.78, 324.61)
OKLCH
oklch(23.4%, 0.0048, 325.98)
HWB
hwb(300, 11.4%, 87.8%)

Harmony colors

Complementary

#1d1f1d

Analogous

#1e1d1f
#1f1d1f
#1f1d1e

Triadic

#1f1d1f
#1f1f1d
#1d1f1f

Split-complementary

#1f1d1f
#1e1f1d
#1d1f1e

Tetradic

#1f1d1f
#1f1d1d
#1d1f1d
#1d1f1f

Square

#1f1d1f
#1f1e1d
#1d1f1d
#1d1e1f

Shades

Color #1f1d1f mixed toward black.

#1a181a
#151315
#100f10
#0a0a0a
#050505

Tints

Color #1f1d1f mixed toward white.

#464146
#6d666d
#928b92
#b7b2b7
#dbd8db

Tones

Color #1f1d1f mixed toward gray.

#1f1d1f
#1f1d1f
#1f1e1f
#1e1e1e
#1e1e1e

Accessibility

Aa White text on this color
16.75:1
Aa Black text on this color
1.25:1

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

Under color vision deficiencies

Protanopia

#1e1e1f · ΔE 1.7

Deuteranopia

#1e1e1e · ΔE 2.3

Tritanopia

#1f1e1e · ΔE 1.8

Achromatopsia

#1e1e1e · ΔE 2.3

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

Code

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

Related colors

Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8
Violet #ee82ee

Frequently asked questions

#1f1d1f (#1f1d1f) is rgb(31, 29, 31) in RGB.

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