#120216#120216

#120216 is a very dark, muted purple. Relative luminance 0.002; OKLCH L 13.9% C 0.053 H 320.3°. Best body text is #FFFFFF at 20.08:1 contrast (WCAG AA passes).

Color values

HEX#120216
RGBrgb(18, 2, 22)
HSLhsl(288, 83%, 5%)
HSVhsv(288, 91%, 9%)
CMYKcmyk(18.2%, 90.9%, 0%, 91.4%)
CIE-LABlab(2.08, 8.09, -7.59)
CIE-LCHlch(2.08, 11.09, 316.79°)
OKLaboklab(13.89% 0.0411 -0.0341)
OKLCHoklch(13.89% 0.053 320.3)
XYZxyz(0.4160, 0.2300, 0.7814)
Luminance0.0023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120216 #061602
analogous
#080216 #120216 #160210
triadic
#120216 #161202 #021612
tetradic
#120216 #160802 #061602 #021016
square
#120216 #160802 #061602 #021016
split-complementary
#120216 #101602 #021608
monochromatic
#17031C #17031C #17031C #40074E #6E0C86

Accessibility & contrast

On white

20.08
#120216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#120216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120216
20.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120216#FFFFFF#000000##FFFFFF
##1202161.0020.081.0520.08
#FFFFFF20.081.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000617
Deuteranopia (green-blind)
#030815
Tritanopia (blue-blind)
#12040A
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #120216;
/* rgb */ color: rgb(18, 2, 22);
/* oklch */ color: oklch(13.9% 0.053 320.3);
Tailwind
colors: {
  custom: {
    50: '#4f4752',
    500: '#120216',
    950: '#000000',
  },
}
SCSS
$custom: #120216;
$custom-light: #4f4752;
$custom-dark: #000000;
JSON
{
  "hex": "#120216",
  "rgb": {
    "r": 18,
    "g": 2,
    "b": 22
  },
  "hsl": {
    "h": 288,
    "s": 83.333,
    "l": 4.706
  },
  "oklch": {
    "l": 0.1389,
    "c": 0.05342,
    "h": 320.3
  },
  "luminance": 0.0023
}

Semantic roles & 50–950 ramp

primary
#120216
secondary
#265C18
accent
#FA2E57
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#020002
muted
#787778

Preview Lab

Preview with #120216

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

Preview Lab → · Contrast checker → · Palette generator →

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