#120B2C#120B2C

#120B2C is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.3% C 0.064 H 288.2°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#120B2C
RGBrgb(18, 11, 44)
HSLhsl(253, 60%, 11%)
HSVhsv(253, 75%, 17%)
CMYKcmyk(59.1%, 75%, 0%, 82.7%)
CIE-LABlab(4.97, 12.33, -20.28)
CIE-LCHlch(4.97, 23.73, 301.31°)
OKLaboklab(18.26% 0.0199 -0.0604)
OKLCHoklch(18.26% 0.064 288.2)
XYZxyz(0.8236, 0.5498, 2.4451)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120B2C #252C0B
analogous
#0B142C #120B2C #220B2C
triadic
#120B2C #2C120B #0B2C12
tetradic
#120B2C #2C0B14 #252C0B #0B2C22
square
#120B2C #2C0B14 #252C0B #0B2C22
split-complementary
#120B2C #2C220B #142C0B
monochromatic
#0A0618 #0A0618 #120B2C #26175D #3A238E

Accessibility & contrast

On white

18.92
#120B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120B2C
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120B2C#FFFFFF#000000##FFFFFF
##120B2C1.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112D
Deuteranopia (green-blind)
#00102B
Tritanopia (blue-blind)
#091319
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #120b2c;
/* rgb */ color: rgb(18, 11, 44);
/* oklch */ color: oklch(18.3% 0.064 288.2);
Tailwind
colors: {
  custom: {
    50: '#514b65',
    500: '#120b2c',
    950: '#000000',
  },
}
SCSS
$custom: #120b2c;
$custom-light: #514b65;
$custom-dark: #000000;
JSON
{
  "hex": "#120b2c",
  "rgb": {
    "r": 18,
    "g": 11,
    "b": 44
  },
  "hsl": {
    "h": 252.727,
    "s": 60,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18258,
    "c": 0.06361,
    "h": 288.2
  },
  "luminance": 0.0055
}

Semantic roles & 50–950 ramp

primary
#120B2C
secondary
#5B682B
accent
#E345C2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #120B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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