#120E18#120E18

#120E18 is a very dark, muted violet. Relative luminance 0.005; OKLCH L 17.4% C 0.021 H 302.6°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#120E18
RGBrgb(18, 14, 24)
HSLhsl(264, 26%, 7%)
HSVhsv(264, 42%, 9%)
CMYKcmyk(25%, 41.7%, 0%, 90.6%)
CIE-LABlab(4.59, 3.60, -5.41)
CIE-LCHlch(4.59, 6.50, 303.64°)
OKLaboklab(17.39% 0.0114 -0.0179)
OKLCHoklch(17.39% 0.021 302.6)
XYZxyz(0.5713, 0.5086, 0.9321)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E18 #14180E
analogous
#0E0F18 #120E18 #170E18
triadic
#120E18 #18120E #0E1812
tetradic
#120E18 #180E0F #14180E #0E1817
square
#120E18 #180E0F #14180E #0E1817
split-complementary
#120E18 #18170E #0F180E
monochromatic
#0E0B13 #0E0B13 #120E18 #2F253F #4C3B65

Accessibility & contrast

On white

19.06
#120E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#120E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120E18
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E18#FFFFFF#000000##FFFFFF
##120E181.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1018
Deuteranopia (green-blind)
#0D1018
Tritanopia (blue-blind)
#110F12
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #120e18;
/* rgb */ color: rgb(18, 14, 24);
/* oklch */ color: oklch(17.4% 0.021 302.6);
Tailwind
colors: {
  custom: {
    50: '#4f4d54',
    500: '#120e18',
    950: '#000000',
  },
}
SCSS
$custom: #120e18;
$custom-light: #4f4d54;
$custom-dark: #000000;
JSON
{
  "hex": "#120e18",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 24
  },
  "hsl": {
    "h": 264,
    "s": 26.316,
    "l": 7.451
  },
  "oklch": {
    "l": 0.17389,
    "c": 0.02123,
    "h": 302.6
  },
  "luminance": 0.00509
}

Semantic roles & 50–950 ramp

primary
#120E18
secondary
#434D35
accent
#C3659D
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#020102
muted
#787778

Preview Lab

Preview with #120E18

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

Preview Lab → · Contrast checker → · Palette generator →

#120E18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva