Skip to content

#0c0613

a deep, vivid violet · warm · closest name: black

RGB
12, 6, 19
HSL
268°, 52%, 5%
CMYK
37, 68, 0, 93
Luminance
0.0026

Every format

HEX#0c0613
RGBrgb(12, 6, 19)
HSLhsl(268, 52%, 5%)
CMYKcmyk(37%, 68%, 0%, 93%)
LABlab(2.3 3.8 -5.3)
LCHlch(2.3 6.5 305.3)
OKLCHoklch(0.140 0.030 305.2)

Copy-ready code

/* CSS */
color: #0c0613;
background-color: #0c0613;
/* Tailwind (arbitrary) */
class="text-[#0c0613] bg-[#0c0613]"
/* SCSS */
$brand: #0c0613;
/* SwiftUI */
Color(red: 0.047, green: 0.024, blue: 0.075)
/* Android */
Color.parseColor("#0c0613")

Accessibility — WCAG contrast

Aa
#0c0613 on white: 19.98:1
AA ✓ pass · AA-large · AAA
Aa
#0c0613 on black: 1.05:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.7%
Green2.4%
Blue7.5%

CMYK percentages

Cyan36.8%
Magenta68.4%
Yellow0.0%
Key (black)92.5%

Color previews

#0c0613 text on a black background

contrast 1.05:1

Card sample

#0c0613 text on a white background

contrast 19.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0c0613;
Background color
Panel with #0c0613 background
background-color: #0c0613;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0c0613;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(12, 6, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 6, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0c0613;
background: linear-gradient(135deg, #0c0613, #130611);

Monochromatic scale

Palettes built from #0c0613

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0c0613 in the Color Lab