#120B2D#120B2D

#120B2D is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.4% C 0.065 H 287.6°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#120B2D
RGBrgb(18, 11, 45)
HSLhsl(252, 61%, 11%)
HSVhsv(252, 76%, 18%)
CMYKcmyk(60%, 75.6%, 0%, 82.4%)
CIE-LABlab(5.03, 12.81, -20.92)
CIE-LCHlch(5.03, 24.53, 301.49°)
OKLaboklab(18.36% 0.0198 -0.0622)
OKLCHoklch(18.36% 0.065 287.6)
XYZxyz(0.8426, 0.5574, 2.5453)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120B2D #262D0B
analogous
#0B152D #120B2D #230B2D
triadic
#120B2D #2D120B #0B2D12
tetradic
#120B2D #2D0B15 #262D0B #0B2D23
square
#120B2D #2D0B15 #262D0B #0B2D23
split-complementary
#120B2D #2D230B #152D0B
monochromatic
#0A0619 #0A0619 #120B2D #26175E #39238F

Accessibility & contrast

On white

18.90
#120B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120B2D
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120B2D#FFFFFF#000000##FFFFFF
##120B2D1.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122E
Deuteranopia (green-blind)
#00102C
Tritanopia (blue-blind)
#09131A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #120b2d;
/* rgb */ color: rgb(18, 11, 45);
/* oklch */ color: oklch(18.4% 0.065 287.6);
Tailwind
colors: {
  custom: {
    50: '#524b66',
    500: '#120b2d',
    950: '#000000',
  },
}
SCSS
$custom: #120b2d;
$custom-light: #524b66;
$custom-dark: #000000;
JSON
{
  "hex": "#120b2d",
  "rgb": {
    "r": 18,
    "g": 11,
    "b": 45
  },
  "hsl": {
    "h": 252.353,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18357,
    "c": 0.06526,
    "h": 287.6
  },
  "luminance": 0.00557
}

Semantic roles & 50–950 ramp

primary
#120B2D
secondary
#5C692A
accent
#E444C3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #120B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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