Skip to content
Kolorvia
#0c0512

Color #0c0512

A moderately saturated very dark purple.

Conversions

HEX
#0c0512
RGB
rgb(12, 5, 18)
HSL
hsl(272.3, 56.5%, 4.5%)
HSV / HSB
hsv(272.3, 72.2%, 7.1%)
CMYK
cmyk(33.3%, 72.2%, 0%, 92.9%)
LAB
lab(2.08, 3.94, -4.99)
LCH
lch(2.08, 6.36, 308.29)
OKLCH
oklch(13.6%, 0.0321, 309.05)
HWB
hwb(272.3, 2%, 92.9%)

Harmony colors

Complementary

#0b1205

Analogous

#050512
#0c0512
#120511

Triadic

#0c0512
#120c05
#05120c

Split-complementary

#0c0512
#111205
#051205

Tetradic

#0c0512
#12050b
#0b1205
#05120c

Square

#0c0512
#120505
#0b1205
#051112

Shades

Color #0c0512 mixed toward black.

#0a040f
#08030c
#060209
#040206
#020103

Tints

Color #0c0512 mixed toward white.

#361751
#612891
#8b40ca
#b180dc
#d8bfed

Tones

Color #0c0512 mixed toward gray.

#0c0611
#0c0710
#0c080f
#0c090e
#0c0a0d

Accessibility

Aa White text on this color
20.08:1
Aa Black text on this color
1.05:1

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

Under color vision deficiencies

Protanopia

#09090f · ΔE 4.2

Deuteranopia

#090a0f · ΔE 4.9

Tritanopia

#0c0d0d · ΔE 7

Achromatopsia

#080808 · ΔE 6.6

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

Code

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

Related colors

Blue Violet #8a2be2
Indigo #4b0082
Rebecca Purple #663399
Dark Orchid #9932cc
Dark Violet #9400d3
Medium Purple #9370db

Frequently asked questions

#0c0512 (#0c0512) is rgb(12, 5, 18) in RGB.

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