Skip to content
Kolorvia
#1f1b1e

Color #1f1b1e

A nearly neutral, gray-leaning very dark magenta.

Conversions

HEX
#1f1b1e
RGB
rgb(31, 27, 30)
HSL
hsl(315, 6.9%, 11.4%)
HSV / HSB
hsv(315, 12.9%, 12.2%)
CMYK
cmyk(0%, 12.9%, 3.2%, 87.8%)
LAB
lab(10.33, 2.67, -1.36)
LCH
lch(10.33, 3, 333.01)
OKLCH
oklch(22.8%, 0.0083, 334.36)
HWB
hwb(315, 10.6%, 87.8%)

Harmony colors

Complementary

#1b1f1c

Analogous

#1e1b1f
#1f1b1e
#1f1b1c

Triadic

#1f1b1e
#1e1f1b
#1b1e1f

Split-complementary

#1f1b1e
#1c1f1b
#1b1f1e

Tetradic

#1f1b1e
#1f1c1b
#1b1f1c
#1b1e1f

Square

#1f1b1e
#1f1e1b
#1b1f1c
#1b1c1f

Shades

Color #1f1b1e mixed toward black.

#1a1719
#151214
#100e0f
#0a090a
#050505

Tints

Color #1f1b1e mixed toward white.

#473e45
#70616c
#968692
#b9aeb6
#dcd7db

Tones

Color #1f1b1e mixed toward gray.

#1f1b1e
#1e1c1e
#1e1c1e
#1e1c1d
#1d1d1d

Accessibility

Aa White text on this color
17.02:1
Aa Black text on this color
1.23:1

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

Under color vision deficiencies

Protanopia

#1d1d1d · ΔE 3.9

Deuteranopia

#1e1e1d · ΔE 4.6

Tritanopia

#1f1d1d · ΔE 2.8

Achromatopsia

#1c1c1c · ΔE 3.9

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

Code

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

Related colors

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

Frequently asked questions

#1f1b1e (#1f1b1e) is rgb(31, 27, 30) in RGB.

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