#120624#120624

#120624 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.4% C 0.061 H 298.3°. Best body text is #FFFFFF at 19.49:1 contrast (WCAG AA passes).

Color values

HEX#120624
RGBrgb(18, 6, 36)
HSLhsl(264, 71%, 8%)
HSVhsv(264, 83%, 14%)
CMYKcmyk(50%, 83.3%, 0%, 85.9%)
CIE-LABlab(3.49, 10.89, -16.48)
CIE-LCHlch(3.49, 19.76, 303.45°)
OKLaboklab(16.37% 0.0288 -0.0533)
OKLCHoklch(16.37% 0.061 298.3)
XYZxyz(0.6329, 0.3862, 1.7099)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120624 #182406
analogous
#060924 #120624 #210624
triadic
#120624 #241206 #062412
tetradic
#120624 #240609 #182406 #062421
square
#120624 #240609 #182406 #062421
split-complementary
#120624 #242106 #092406
monochromatic
#0D041A #0D041A #120624 #2C0F58 #46178D

Accessibility & contrast

On white

19.49
#120624 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#120624 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120624
19.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120624#FFFFFF#000000##FFFFFF
##1206241.0019.491.0819.49
#FFFFFF19.491.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D25
Deuteranopia (green-blind)
#000C23
Tritanopia (blue-blind)
#0E0C13
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #120624;
/* rgb */ color: rgb(18, 6, 36);
/* oklch */ color: oklch(16.4% 0.061 298.3);
Tailwind
colors: {
  custom: {
    50: '#50495e',
    500: '#120624',
    950: '#000000',
  },
}
SCSS
$custom: #120624;
$custom-light: #50495e;
$custom-dark: #000000;
JSON
{
  "hex": "#120624",
  "rgb": {
    "r": 18,
    "g": 6,
    "b": 36
  },
  "hsl": {
    "h": 264,
    "s": 71.429,
    "l": 8.235
  },
  "oklch": {
    "l": 0.1637,
    "c": 0.06056,
    "h": 298.3
  },
  "luminance": 0.00386
}

Semantic roles & 50–950 ramp

primary
#120624
secondary
#4A6421
accent
#EE3AA6
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #120624

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

Preview Lab → · Contrast checker → · Palette generator →

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