#120016#120016

#120016 is a very dark, moderate purple. Relative luminance 0.002; OKLCH L 13.2% C 0.063 H 321.6°. Best body text is #FFFFFF at 20.24:1 contrast (WCAG AA passes).

Color values

HEX#120016
RGBrgb(18, 0, 22)
HSLhsl(289, 100%, 4%)
HSVhsv(289, 100%, 9%)
CMYKcmyk(18.2%, 100%, 0%, 91.4%)
CIE-LABlab(1.68, 8.89, -8.17)
CIE-LCHlch(1.68, 12.07, 317.43°)
OKLaboklab(13.16% 0.0491 -0.0389)
OKLCHoklch(13.16% 0.063 321.6)
XYZxyz(0.3943, 0.1865, 0.7741)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120016 #041600
analogous
#070016 #120016 #16000F
triadic
#120016 #161200 #001612
tetradic
#120016 #160700 #041600 #000F16
square
#120016 #160700 #041600 #000F16
split-complementary
#120016 #0F1600 #001607
monochromatic
#19001F #19001F #19001F #440053 #760090

Accessibility & contrast

On white

20.24
#120016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#120016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120016
20.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120016#FFFFFF#000000##FFFFFF
##1200161.0020.241.0420.24
#FFFFFF20.241.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000517
Deuteranopia (green-blind)
#010715
Tritanopia (blue-blind)
#120208
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #120016;
/* rgb */ color: rgb(18, 0, 22);
/* oklch */ color: oklch(13.2% 0.063 321.6);
Tailwind
colors: {
  custom: {
    50: '#4f4652',
    500: '#120016',
    950: '#000000',
  },
}
SCSS
$custom: #120016;
$custom-light: #4f4652;
$custom-dark: #000000;
JSON
{
  "hex": "#120016",
  "rgb": {
    "r": 18,
    "g": 0,
    "b": 22
  },
  "hsl": {
    "h": 289.091,
    "s": 100,
    "l": 4.314
  },
  "oklch": {
    "l": 0.13164,
    "c": 0.06263,
    "h": 321.6
  },
  "luminance": 0.00187
}

Semantic roles & 50–950 ramp

primary
#120016
secondary
#206111
accent
#FF2950
background
#F4F3F4
surface
#E7E5E7
border
#C3C1C3
text
#020002
muted
#787778

Preview Lab

Preview with #120016

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

Preview Lab → · Contrast checker → · Palette generator →

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