#120622#120622

#120622 is a very dark, muted violet. Relative luminance 0.004; OKLCH L 16.2% C 0.057 H 300.3°. Best body text is #FFFFFF at 19.54:1 contrast (WCAG AA passes).

Color values

HEX#120622
RGBrgb(18, 6, 34)
HSLhsl(266, 70%, 8%)
HSVhsv(266, 82%, 13%)
CMYKcmyk(47.1%, 82.4%, 0%, 86.7%)
CIE-LABlab(3.38, 10.14, -15.09)
CIE-LCHlch(3.38, 18.18, 303.89°)
OKLaboklab(16.17% 0.029 -0.0496)
OKLCHoklch(16.17% 0.057 300.3)
XYZxyz(0.6032, 0.3743, 1.5535)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120622 #162206
analogous
#060822 #120622 #200622
triadic
#120622 #221206 #062212
tetradic
#120622 #220608 #162206 #062220
square
#120622 #220608 #162206 #062220
split-complementary
#120622 #222006 #082206
monochromatic
#0E051A #0E051A #120622 #2E0F56 #49188A

Accessibility & contrast

On white

19.54
#120622 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120622
19.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120622#FFFFFF#000000##FFFFFF
##1206221.0019.541.0719.54
#FFFFFF19.541.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C23
Deuteranopia (green-blind)
#000C21
Tritanopia (blue-blind)
#0F0C12
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #120622;
/* rgb */ color: rgb(18, 6, 34);
/* oklch */ color: oklch(16.2% 0.057 300.3);
Tailwind
colors: {
  custom: {
    50: '#4f495d',
    500: '#120622',
    950: '#000000',
  },
}
SCSS
$custom: #120622;
$custom-light: #4f495d;
$custom-dark: #000000;
JSON
{
  "hex": "#120622",
  "rgb": {
    "r": 18,
    "g": 6,
    "b": 34
  },
  "hsl": {
    "h": 265.714,
    "s": 70,
    "l": 7.843
  },
  "oklch": {
    "l": 0.16174,
    "c": 0.05749,
    "h": 300.3
  },
  "luminance": 0.00374
}

Semantic roles & 50–950 ramp

primary
#120622
secondary
#476222
accent
#ED3BA1
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #120622

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

Preview Lab → · Contrast checker → · Palette generator →

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