#120118#120118

#120118 is a very dark, moderate purple. Relative luminance 0.002; OKLCH L 13.7% C 0.060 H 317.8°. Best body text is #FFFFFF at 20.13:1 contrast (WCAG AA passes).

Color values

HEX#120118
RGBrgb(18, 1, 24)
HSLhsl(284, 92%, 5%)
HSVhsv(284, 96%, 9%)
CMYKcmyk(25%, 95.8%, 0%, 90.6%)
CIE-LABlab(1.95, 9.00, -9.27)
CIE-LCHlch(1.95, 12.91, 314.15°)
OKLaboklab(13.73% 0.0445 -0.0403)
OKLCHoklch(13.73% 0.06 317.8)
XYZxyz(0.4252, 0.2163, 0.8833)
Luminance0.0022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120118 #071801
analogous
#070118 #120118 #180113
triadic
#120118 #181201 #011812
tetradic
#120118 #180701 #071801 #011318
square
#120118 #180701 #071801 #011318
split-complementary
#120118 #131801 #011807
monochromatic
#16011D #16011D #16011D #3E0353 #6A068E

Accessibility & contrast

On white

20.13
#120118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120118
20.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120118#FFFFFF#000000##FFFFFF
##1201181.0020.131.0420.13
#FFFFFF20.131.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000619
Deuteranopia (green-blind)
#010817
Tritanopia (blue-blind)
#12040A
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #120118;
/* rgb */ color: rgb(18, 1, 24);
/* oklch */ color: oklch(13.7% 0.060 317.8);
Tailwind
colors: {
  custom: {
    50: '#4f4754',
    500: '#120118',
    950: '#000000',
  },
}
SCSS
$custom: #120118;
$custom-light: #4f4754;
$custom-dark: #000000;
JSON
{
  "hex": "#120118",
  "rgb": {
    "r": 18,
    "g": 1,
    "b": 24
  },
  "hsl": {
    "h": 284.348,
    "s": 92,
    "l": 4.902
  },
  "oklch": {
    "l": 0.13729,
    "c": 0.06008,
    "h": 317.8
  },
  "luminance": 0.00216
}

Semantic roles & 50–950 ramp

primary
#120118
secondary
#286015
accent
#FF2961
background
#F4F3F4
surface
#E7E5E7
border
#C3C1C3
text
#020002
muted
#787778

Preview Lab

Preview with #120118

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

Preview Lab → · Contrast checker → · Palette generator →

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