#120618#120618

#120618 is a very dark, muted purple. Relative luminance 0.003; OKLCH L 15.3% C 0.042 H 313.8°. Best body text is #FFFFFF at 19.72:1 contrast (WCAG AA passes).

Color values

HEX#120618
RGBrgb(18, 6, 24)
HSLhsl(280, 60%, 6%)
HSVhsv(280, 75%, 9%)
CMYKcmyk(25%, 75%, 0%, 90.6%)
CIE-LABlab(2.93, 6.99, -7.83)
CIE-LCHlch(2.93, 10.50, 311.75°)
OKLaboklab(15.3% 0.029 -0.0302)
OKLCHoklch(15.3% 0.042 313.8)
XYZxyz(0.4794, 0.3248, 0.9014)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120618 #0C1806
analogous
#090618 #120618 #180615
triadic
#120618 #181206 #061812
tetradic
#120618 #180906 #0C1806 #061518
square
#120618 #180906 #0C1806 #061518
split-complementary
#120618 #151806 #061809
monochromatic
#120618 #120618 #120618 #371249 #5B1E7A

Accessibility & contrast

On white

19.72
#120618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120618
19.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120618#FFFFFF#000000##FFFFFF
##1206181.0019.721.0719.72
#FFFFFF19.721.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030A19
Deuteranopia (green-blind)
#060B18
Tritanopia (blue-blind)
#11080D
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #120618;
/* rgb */ color: rgb(18, 6, 24);
/* oklch */ color: oklch(15.3% 0.042 313.8);
Tailwind
colors: {
  custom: {
    50: '#4f4954',
    500: '#120618',
    950: '#000000',
  },
}
SCSS
$custom: #120618;
$custom-light: #4f4954;
$custom-dark: #000000;
JSON
{
  "hex": "#120618",
  "rgb": {
    "r": 18,
    "g": 6,
    "b": 24
  },
  "hsl": {
    "h": 280,
    "s": 60,
    "l": 5.882
  },
  "oklch": {
    "l": 0.15299,
    "c": 0.04188,
    "h": 313.8
  },
  "luminance": 0.00325
}

Semantic roles & 50–950 ramp

primary
#120618
secondary
#345623
accent
#E34579
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#020002
muted
#787778

Preview Lab

Preview with #120618

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

Preview Lab → · Contrast checker → · Palette generator →

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