#120A2B#120A2B

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

Color values

HEX#120A2B
RGBrgb(18, 10, 43)
HSLhsl(255, 62%, 10%)
HSVhsv(255, 77%, 17%)
CMYKcmyk(58.1%, 76.7%, 0%, 83.1%)
CIE-LABlab(4.70, 12.27, -19.95)
CIE-LCHlch(4.70, 23.42, 301.60°)
OKLaboklab(17.95% 0.0213 -0.06)
OKLCHoklch(17.95% 0.064 289.6)
XYZxyz(0.7939, 0.5201, 2.3436)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120A2B #232B0A
analogous
#0A122B #120A2B #220A2B
triadic
#120A2B #2B120A #0A2B12
tetradic
#120A2B #2B0A12 #232B0A #0A2B22
square
#120A2B #2B0A12 #232B0A #0A2B22
split-complementary
#120A2B #2B220A #122B0A
monochromatic
#0A0619 #0A0619 #120A2B #27165D #3C218E

Accessibility & contrast

On white

19.02
#120A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#120A2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120A2B
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120A2B#FFFFFF#000000##FFFFFF
##120A2B1.0019.021.1019.02
#FFFFFF19.021.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112C
Deuteranopia (green-blind)
#000F2A
Tritanopia (blue-blind)
#0A1219
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #120a2b;
/* rgb */ color: rgb(18, 10, 43);
/* oklch */ color: oklch(18.0% 0.064 289.6);
Tailwind
colors: {
  custom: {
    50: '#514b64',
    500: '#120a2b',
    950: '#000000',
  },
}
SCSS
$custom: #120a2b;
$custom-light: #514b64;
$custom-dark: #000000;
JSON
{
  "hex": "#120a2b",
  "rgb": {
    "r": 18,
    "g": 10,
    "b": 43
  },
  "hsl": {
    "h": 254.545,
    "s": 62.264,
    "l": 10.392
  },
  "oklch": {
    "l": 0.17955,
    "c": 0.06369,
    "h": 289.6
  },
  "luminance": 0.0052
}

Semantic roles & 50–950 ramp

primary
#120A2B
secondary
#596829
accent
#E542BE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #120A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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