#120E20#120E20

#120E20 is a very dark, muted violet. Relative luminance 0.005; OKLCH L 17.9% C 0.037 H 292.5°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#120E20
RGBrgb(18, 14, 32)
HSLhsl(253, 39%, 9%)
HSVhsv(253, 56%, 13%)
CMYKcmyk(43.8%, 56.2%, 0%, 87.5%)
CIE-LABlab(4.94, 6.03, -11.16)
CIE-LCHlch(4.94, 12.68, 298.41°)
OKLaboklab(17.92% 0.014 -0.0337)
OKLCHoklch(17.92% 0.037 292.5)
XYZxyz(0.6671, 0.5469, 1.4366)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120E20 #1C200E
analogous
#0E1320 #120E20 #1B0E20
triadic
#120E20 #20120E #0E2012
tetradic
#120E20 #200E13 #1C200E #0E201B
square
#120E20 #200E13 #1C200E #0E201B
split-complementary
#120E20 #201B0E #13200E
monochromatic
#0C0915 #0C0915 #120E20 #2A214B #423375

Accessibility & contrast

On white

18.93
#120E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#120E20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120E20
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120E20#FFFFFF#000000##FFFFFF
##120E201.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091121
Deuteranopia (green-blind)
#091020
Tritanopia (blue-blind)
#0F1115
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #120e20;
/* rgb */ color: rgb(18, 14, 32);
/* oklch */ color: oklch(17.9% 0.037 292.5);
Tailwind
colors: {
  custom: {
    50: '#504d5b',
    500: '#120e20',
    950: '#000000',
  },
}
SCSS
$custom: #120e20;
$custom-light: #504d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#120e20",
  "rgb": {
    "r": 18,
    "g": 14,
    "b": 32
  },
  "hsl": {
    "h": 253.333,
    "s": 39.13,
    "l": 9.02
  },
  "oklch": {
    "l": 0.17922,
    "c": 0.03651,
    "h": 292.5
  },
  "luminance": 0.00547
}

Semantic roles & 50–950 ramp

primary
#120E20
secondary
#4F5832
accent
#CF59B5
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020104
muted
#787779

Preview Lab

Preview with #120E20

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

Preview Lab → · Contrast checker → · Palette generator →

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