#120020#120020

#120020 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.3% C 0.073 H 307.9°. Best body text is #FFFFFF at 20.06:1 contrast (WCAG AA passes).

Color values

HEX#120020
RGBrgb(18, 0, 32)
HSLhsl(274, 100%, 6%)
HSVhsv(274, 100%, 13%)
CMYKcmyk(43.8%, 100%, 0%, 87.5%)
CIE-LABlab(2.10, 11.83, -15.47)
CIE-LCHlch(2.10, 19.47, 307.41°)
OKLaboklab(14.26% 0.0448 -0.0575)
OKLCHoklch(14.26% 0.073 307.9)
XYZxyz(0.5101, 0.2329, 1.3843)
Luminance0.0023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120020 #0E2000
analogous
#020020 #120020 #20001E
triadic
#120020 #201200 #002012
tetradic
#120020 #200200 #0E2000 #001E20
square
#120020 #200200 #0E2000 #001E20
split-complementary
#120020 #1E2000 #002002
monochromatic
#11001F #11001F #120020 #34005D #57009A

Accessibility & contrast

On white

20.06
#120020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#120020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120020
20.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120020#FFFFFF#000000##FFFFFF
##1200201.0020.061.0520.06
#FFFFFF20.061.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000721
Deuteranopia (green-blind)
#00081F
Tritanopia (blue-blind)
#10050E
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #120020;
/* rgb */ color: rgb(18, 0, 32);
/* oklch */ color: oklch(14.3% 0.073 307.9);
Tailwind
colors: {
  custom: {
    50: '#4f465b',
    500: '#120020',
    950: '#000000',
  },
}
SCSS
$custom: #120020;
$custom-light: #4f465b;
$custom-dark: #000000;
JSON
{
  "hex": "#120020",
  "rgb": {
    "r": 18,
    "g": 0,
    "b": 32
  },
  "hsl": {
    "h": 273.75,
    "s": 100,
    "l": 6.275
  },
  "oklch": {
    "l": 0.14256,
    "c": 0.07289,
    "h": 307.9
  },
  "luminance": 0.00233
}

Semantic roles & 50–950 ramp

primary
#120020
secondary
#386913
accent
#FF2987
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#020004
muted
#787779

Preview Lab

Preview with #120020

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

Preview Lab → · Contrast checker → · Palette generator →

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