Skip to content
Kolorvia
#1f161e

Color #1f161e

A muted very dark magenta.

Conversions

HEX
#1f161e
RGB
rgb(31, 22, 30)
HSL
hsl(306.7, 17%, 10.4%)
HSV / HSB
hsv(306.7, 29%, 12.2%)
CMYK
cmyk(0%, 29%, 3.2%, 87.8%)
LAB
lab(8.64, 6.4, -3.87)
LCH
lch(8.64, 7.48, 328.84)
OKLCH
oklch(21.5%, 0.0207, 330.08)
HWB
hwb(306.7, 8.6%, 87.8%)

Harmony colors

Complementary

#161f17

Analogous

#1c161f
#1f161e
#1f161a

Triadic

#1f161e
#1e1f16
#161e1f

Split-complementary

#1f161e
#1a1f16
#161f1c

Tetradic

#1f161e
#1f1716
#161f17
#161e1f

Square

#1f161e
#1f1c16
#161f17
#161a1f

Shades

Color #1f161e mixed toward black.

#1a1219
#150f14
#100b0f
#0a070a
#050405

Tints

Color #1f161e mixed toward white.

#4c3649
#785574
#a0799c
#c0a6bd
#dfd2de

Tones

Color #1f161e mixed toward gray.

#1e171d
#1e181d
#1d181c
#1c191c
#1b1a1b

Accessibility

Aa White text on this color
17.62:1
Aa Black text on this color
1.19:1

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

Under color vision deficiencies

Protanopia

#1b1b1c · ΔE 7.9

Deuteranopia

#1c1d1c · ΔE 10

Tritanopia

#1f1b1a · ΔE 7.1

Achromatopsia

#191919 · ΔE 8.4

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

Code

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

Related colors

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

Frequently asked questions

#1f161e (#1f161e) is rgb(31, 22, 30) in RGB.

No, #1f161e is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #1f161e, 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.