#120816#120816

#120816 is a very dark, muted purple. Relative luminance 0.004; OKLCH L 15.7% C 0.033 H 315.9°. Best body text is #FFFFFF at 19.59:1 contrast (WCAG AA passes).

Color values

HEX#120816
RGBrgb(18, 8, 22)
HSLhsl(283, 47%, 6%)
HSVhsv(283, 64%, 9%)
CMYKcmyk(18.2%, 63.6%, 0%, 91.4%)
CIE-LABlab(3.25, 5.68, -5.88)
CIE-LCHlch(3.25, 8.18, 314.04°)
OKLaboklab(15.7% 0.0236 -0.0228)
OKLCHoklch(15.7% 0.033 315.9)
XYZxyz(0.4811, 0.3602, 0.8031)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120816 #0C1608
analogous
#0B0816 #120816 #160813
triadic
#120816 #161208 #081612
tetradic
#120816 #160B08 #0C1608 #081316
square
#120816 #160B08 #0C1608 #081316
split-complementary
#120816 #131608 #08160B
monochromatic
#120816 #120816 #120816 #371843 #5B2970

Accessibility & contrast

On white

19.59
#120816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#120816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120816
19.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120816#FFFFFF#000000##FFFFFF
##1208161.0019.591.0719.59
#FFFFFF19.591.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060B17
Deuteranopia (green-blind)
#080C16
Tritanopia (blue-blind)
#120A0D
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #120816;
/* rgb */ color: rgb(18, 8, 22);
/* oklch */ color: oklch(15.7% 0.033 315.9);
Tailwind
colors: {
  custom: {
    50: '#4f4a52',
    500: '#120816',
    950: '#000000',
  },
}
SCSS
$custom: #120816;
$custom-light: #4f4a52;
$custom-dark: #000000;
JSON
{
  "hex": "#120816",
  "rgb": {
    "r": 18,
    "g": 8,
    "b": 22
  },
  "hsl": {
    "h": 282.857,
    "s": 46.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.15703,
    "c": 0.03285,
    "h": 315.9
  },
  "luminance": 0.0036
}

Semantic roles & 50–950 ramp

primary
#120816
secondary
#345129
accent
#D65177
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#020102
muted
#787778

Preview Lab

Preview with #120816

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

Preview Lab → · Contrast checker → · Palette generator →

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