#120B2A#120B2A

#120B2A is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.1% C 0.060 H 289.3°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#120B2A
RGBrgb(18, 11, 42)
HSLhsl(254, 58%, 10%)
HSVhsv(254, 74%, 16%)
CMYKcmyk(57.1%, 73.8%, 0%, 83.5%)
CIE-LABlab(4.83, 11.40, -18.98)
CIE-LCHlch(4.83, 22.14, 300.99°)
OKLaboklab(18.07% 0.02 -0.0569)
OKLCHoklch(18.07% 0.06 289.3)
XYZxyz(0.7869, 0.5351, 2.2519)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120B2A #232A0B
analogous
#0B132A #120B2A #210B2A
triadic
#120B2A #2A120B #0B2A12
tetradic
#120B2A #2A0B13 #232A0B #0B2A21
square
#120B2A #2A0B13 #232A0B #0B2A21
split-complementary
#120B2A #2A210B #132A0B
monochromatic
#0A0618 #0A0618 #120B2A #27185A #3C248B

Accessibility & contrast

On white

18.97
#120B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120B2A
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120B2A#FFFFFF#000000##FFFFFF
##120B2A1.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112B
Deuteranopia (green-blind)
#001029
Tritanopia (blue-blind)
#0B1218
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #120b2a;
/* rgb */ color: rgb(18, 11, 42);
/* oklch */ color: oklch(18.1% 0.060 289.3);
Tailwind
colors: {
  custom: {
    50: '#514b63',
    500: '#120b2a',
    950: '#000000',
  },
}
SCSS
$custom: #120b2a;
$custom-light: #514b63;
$custom-dark: #000000;
JSON
{
  "hex": "#120b2a",
  "rgb": {
    "r": 18,
    "g": 11,
    "b": 42
  },
  "hsl": {
    "h": 253.548,
    "s": 58.491,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18066,
    "c": 0.06027,
    "h": 289.3
  },
  "luminance": 0.00535
}

Semantic roles & 50–950 ramp

primary
#120B2A
secondary
#59662B
accent
#E246BF
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #120B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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