#120012#120012

#120012 is a very dark, muted purple. Relative luminance 0.002; OKLCH L 12.8% C 0.059 H 328.4°. Best body text is #FFFFFF at 20.30:1 contrast (WCAG AA passes).

Color values

HEX#120012
RGBrgb(18, 0, 18)
HSLhsl(300, 100%, 4%)
HSVhsv(300, 100%, 7%)
CMYKcmyk(0%, 100%, 0%, 92.9%)
CIE-LABlab(1.56, 7.98, -5.71)
CIE-LCHlch(1.56, 9.81, 324.44°)
OKLaboklab(12.78% 0.05 -0.0308)
OKLCHoklch(12.78% 0.059 328.4)
XYZxyz(0.3586, 0.1723, 0.5865)
Luminance0.0017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120012 #001200
analogous
#090012 #120012 #120009
triadic
#120012 #121200 #001212
tetradic
#120012 #120900 #001200 #000912
square
#120012 #120900 #001200 #000912
split-complementary
#120012 #091200 #001209
monochromatic
#1F001F #1F001F #1F001F #4F004F #8C008C

Accessibility & contrast

On white

20.30
#120012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#120012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120012
20.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120012#FFFFFF#000000##FFFFFF
##1200121.0020.301.0320.30
#FFFFFF20.301.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000413
Deuteranopia (green-blind)
#030711
Tritanopia (blue-blind)
#130106
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #120012;
/* rgb */ color: rgb(18, 0, 18);
/* oklch */ color: oklch(12.8% 0.059 328.4);
Tailwind
colors: {
  custom: {
    50: '#4f474f',
    500: '#120012',
    950: '#000000',
  },
}
SCSS
$custom: #120012;
$custom-light: #4f474f;
$custom-dark: #000000;
JSON
{
  "hex": "#120012",
  "rgb": {
    "r": 18,
    "g": 0,
    "b": 18
  },
  "hsl": {
    "h": 300,
    "s": 100,
    "l": 3.529
  },
  "oklch": {
    "l": 0.12785,
    "c": 0.05876,
    "h": 328.4
  },
  "luminance": 0.00172
}

Semantic roles & 50–950 ramp

primary
#120012
secondary
#105D10
accent
#FF2929
background
#F4F3F4
surface
#E7E5E7
border
#C3C1C3
text
#020002
muted
#787778

Preview Lab

Preview with #120012

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#120012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva