#0C030D

A color in the Purple, Crimson, Magenta family

#0c030d is a color in the Purple, Crimson, Magenta family: RGB(12, 3, 13), HSL(294°, 63%, 3%), CMYK(8%, 77%, 0%, 95%). Closest named color: black. Contrast is 20.3:1 on white and 1.03:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#0c030d
RGBrgb(12 3 13)
RGB (legacy)rgb(12, 3, 13)
RGB %rgb(5% 1% 5%)
HSLhsl(294 63% 3%)
HSV / HSBhsv(294, 77%, 5%)
HWBhwb(294 1% 95%)
CMYKcmyk(8%, 77%, 0%, 95%)
CIELAB (D50)lab(1.55 3.54 -3.02)
LCHlch(1.55 4.65 319.54)
OKLaboklab(0.1239 0.0264 -0.019)
OKLCHoklch(0.1239 0.0325 324.26)
Decimal787213

Properties

Color TonePurple, Crimson, Magenta
Closest named colorblack ΔE 12.8
Closest web-safe color#000000
Hue294°
Saturation (HSL / HSV)63% / 77%
Lightness (HSL)3%
Brightness or Value (HSV)5%
Luminance (Rec.601 / Rec.709)3% / 2%
Relative luminance (WCAG)0.0017
Red / Green / Blue12 / 3 / 13

WCAG 2.2 Contrast Ratio

On White (#ffffff)
20.30:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.03:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 105.9 / 0 · As background with white / black text: Lc -107.8 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #0c030d;
  --color-brand-oklch: oklch(12.39% 0.0325 324.26);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(12 3 13 / 50%); }
/* Tailwind CSS */
<div class="bg-[#0c030d] text-[#0c030d] border-[#0c030d]">