#120D2B#120D2B

#120D2B is a very dark, muted violet. Relative luminance 0.006; OKLCH L 18.6% C 0.058 H 286.9°. Best body text is #FFFFFF at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#120D2B
RGBrgb(18, 13, 43)
HSLhsl(250, 54%, 11%)
HSVhsv(250, 70%, 17%)
CMYKcmyk(58.1%, 69.8%, 0%, 83.1%)
CIE-LABlab(5.34, 10.97, -18.94)
CIE-LCHlch(5.34, 21.89, 300.08°)
OKLaboklab(18.6% 0.017 -0.0558)
OKLCHoklch(18.6% 0.058 286.9)
XYZxyz(0.8293, 0.5908, 2.3554)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120D2B #262B0D
analogous
#0D172B #120D2B #210D2B
triadic
#120D2B #2B120D #0D2B12
tetradic
#120D2B #2B0D17 #262B0D #0D2B21
square
#120D2B #2B0D17 #262B0D #0D2B21
split-complementary
#120D2B #2B210D #172B0D
monochromatic
#0A0717 #0A0717 #120D2B #261B5A #392989

Accessibility & contrast

On white

18.78
#120D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#120D2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120D2B
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120D2B#FFFFFF#000000##FFFFFF
##120D2B1.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01122C
Deuteranopia (green-blind)
#01112A
Tritanopia (blue-blind)
#0A141A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #120d2b;
/* rgb */ color: rgb(18, 13, 43);
/* oklch */ color: oklch(18.6% 0.058 286.9);
Tailwind
colors: {
  custom: {
    50: '#514c64',
    500: '#120d2b',
    950: '#000000',
  },
}
SCSS
$custom: #120d2b;
$custom-light: #514c64;
$custom-dark: #000000;
JSON
{
  "hex": "#120d2b",
  "rgb": {
    "r": 18,
    "g": 13,
    "b": 43
  },
  "hsl": {
    "h": 250,
    "s": 53.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18596,
    "c": 0.05837,
    "h": 286.9
  },
  "luminance": 0.00591
}

Semantic roles & 50–950 ramp

primary
#120D2B
secondary
#5C662E
accent
#DD4BC5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #120D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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