#120A2A#120A2A

#120A2A is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.9% C 0.062 H 290.2°. Best body text is #FFFFFF at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#120A2A
RGBrgb(18, 10, 42)
HSLhsl(255, 62%, 10%)
HSVhsv(255, 76%, 16%)
CMYKcmyk(57.1%, 76.2%, 0%, 83.5%)
CIE-LABlab(4.63, 11.81, -19.29)
CIE-LCHlch(4.63, 22.62, 301.48°)
OKLaboklab(17.86% 0.0214 -0.0582)
OKLCHoklch(17.86% 0.062 290.2)
XYZxyz(0.7758, 0.5128, 2.2481)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120A2A #222A0A
analogous
#0A122A #120A2A #220A2A
triadic
#120A2A #2A120A #0A2A12
tetradic
#120A2A #2A0A12 #222A0A #0A2A22
square
#120A2A #2A0A12 #222A0A #0A2A22
split-complementary
#120A2A #2A220A #122A0A
monochromatic
#0B0619 #0B0619 #120A2A #27165B #3C228D

Accessibility & contrast

On white

19.05
#120A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120A2A
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120A2A#FFFFFF#000000##FFFFFF
##120A2A1.0019.051.1019.05
#FFFFFF19.051.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102B
Deuteranopia (green-blind)
#000F29
Tritanopia (blue-blind)
#0B1118
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #120a2a;
/* rgb */ color: rgb(18, 10, 42);
/* oklch */ color: oklch(17.9% 0.062 290.2);
Tailwind
colors: {
  custom: {
    50: '#514b63',
    500: '#120a2a',
    950: '#000000',
  },
}
SCSS
$custom: #120a2a;
$custom-light: #514b63;
$custom-dark: #000000;
JSON
{
  "hex": "#120a2a",
  "rgb": {
    "r": 18,
    "g": 10,
    "b": 42
  },
  "hsl": {
    "h": 255,
    "s": 61.538,
    "l": 10.196
  },
  "oklch": {
    "l": 0.17857,
    "c": 0.06204,
    "h": 290.2
  },
  "luminance": 0.00513
}

Semantic roles & 50–950 ramp

primary
#120A2A
secondary
#576729
accent
#E543BC
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #120A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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