Skip to content
Kolorvia
#1f0c1a

Color #1f0c1a

A moderately saturated very dark magenta.

Conversions

HEX
#1f0c1a
RGB
rgb(31, 12, 26)
HSL
hsl(315.8, 44.2%, 8.4%)
HSV / HSB
hsv(315.8, 61.3%, 12.2%)
CMYK
cmyk(0%, 61.3%, 16.1%, 87.8%)
LAB
lab(5.68, 11.66, -5.22)
LCH
lch(5.68, 12.78, 335.88)
OKLCH
oklch(19%, 0.0403, 337.83)
HWB
hwb(315.8, 4.7%, 87.8%)

Harmony colors

Complementary

#0c1f11

Analogous

#1a0c1f
#1f0c1a
#1f0c10

Triadic

#1f0c1a
#1a1f0c
#0c1a1f

Split-complementary

#1f0c1a
#101f0c
#0c1f1a

Tetradic

#1f0c1a
#1f110c
#0c1f11
#0c1a1f

Square

#1f0c1a
#1f1a0c
#0c1f11
#0c101f

Shades

Color #1f0c1a mixed toward black.

#1a0a16
#150811
#0f060d
#0a0409
#050204

Tints

Color #1f0c1a mixed toward white.

#572249
#8f3778
#be57a3
#d48fc1
#e9c7e0

Tones

Color #1f0c1a mixed toward gray.

#1d0e19
#1c0f18
#1a1118
#191217
#171416

Accessibility

Aa White text on this color
18.65:1
Aa Black text on this color
1.13:1

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

Under color vision deficiencies

Protanopia

#181817 · ΔE 13.9

Deuteranopia

#191b17 · ΔE 17.8

Tritanopia

#1e1514 · ΔE 9.2

Achromatopsia

#131313 · ΔE 12.9

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

Code

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

Related colors

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

Frequently asked questions

#1f0c1a (#1f0c1a) is rgb(31, 12, 26) in RGB.

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