Skip to content
Kolorvia
#0c020f

Color #0c020f

A vivid, highly saturated very dark purple.

Conversions

HEX
#0c020f
RGB
rgb(12, 2, 15)
HSL
hsl(286.2, 76.5%, 3.3%)
HSV / HSB
hsv(286.2, 86.7%, 5.9%)
CMYK
cmyk(20%, 86.7%, 0%, 94.1%)
LAB
lab(1.41, 4.55, -4.27)
LCH
lch(1.41, 6.24, 316.82)
OKLCH
oklch(12.1%, 0.0405, 320.1)
HWB
hwb(286.2, 0.8%, 94.1%)

Harmony colors

Complementary

#050f02

Analogous

#05020f
#0c020f
#0f020b

Triadic

#0c020f
#0f0c02
#020f0c

Split-complementary

#0c020f
#0b0f02
#020f05

Tetradic

#0c020f
#0f0205
#050f02
#020f0c

Square

#0c020f
#0f0502
#050f02
#020b0f

Shades

Color #0c020f mixed toward black.

#0a020c
#08010a
#060107
#040105
#020002

Tints

Color #0c020f mixed toward white.

#460c57
#8015a0
#b725e2
#cf6eec
#e7b6f5

Tones

Color #0c020f mixed toward gray.

#0b030e
#0b040d
#0a050c
#0a060b
#090709

Accessibility

Aa White text on this color
20.36:1
Aa Black text on this color
1.03:1

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

Under color vision deficiencies

Protanopia

#08080c · ΔE 5.5

Deuteranopia

#08090c · ΔE 6.1

Tritanopia

#0c0a09 · ΔE 6.7

Achromatopsia

#050505 · ΔE 6.8

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

Code

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

Related colors

Medium Orchid #ba55d3
Dark Violet #9400d3
Dark Orchid #9932cc
Indigo #4b0082
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#0c020f (#0c020f) is rgb(12, 2, 15) in RGB.

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