#120436#120436

#120436 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.0% C 0.090 H 287.0°. Best body text is #FFFFFF at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#120436
RGBrgb(18, 4, 54)
HSLhsl(257, 86%, 11%)
HSVhsv(257, 93%, 21%)
CMYKcmyk(66.7%, 92.6%, 0%, 78.8%)
CIE-LABlab(4.35, 20.30, -28.70)
CIE-LCHlch(4.35, 35.15, 305.28°)
OKLaboklab(17.97% 0.0264 -0.0864)
OKLCHoklch(17.97% 0.09 287)
XYZxyz(0.9585, 0.4817, 3.5318)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120436 #283604
analogous
#040F36 #120436 #2B0436
triadic
#120436 #361204 #043612
tetradic
#120436 #36040F #283604 #04362B
square
#120436 #36040F #283604 #04362B
split-complementary
#120436 #362B04 #0F3604
monochromatic
#09021C #09021C #120436 #25086F #380CA8

Accessibility & contrast

On white

19.15
#120436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#120436 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120436
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120436#FFFFFF#000000##FFFFFF
##1204361.0019.151.1019.15
#FFFFFF19.151.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001037
Deuteranopia (green-blind)
#000E35
Tritanopia (blue-blind)
#03121D
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #120436;
/* rgb */ color: rgb(18, 4, 54);
/* oklch */ color: oklch(18.0% 0.090 287.0);
Tailwind
colors: {
  custom: {
    50: '#54476d',
    500: '#120436',
    950: '#000000',
  },
}
SCSS
$custom: #120436;
$custom-light: #54476d;
$custom-dark: #000000;
JSON
{
  "hex": "#120436",
  "rgb": {
    "r": 18,
    "g": 4,
    "b": 54
  },
  "hsl": {
    "h": 256.8,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.17968,
    "c": 0.09033,
    "h": 287
  },
  "luminance": 0.00482
}

Semantic roles & 50–950 ramp

primary
#120436
secondary
#5F781E
accent
#FC2BC2
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #120436

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

Preview Lab → · Contrast checker → · Palette generator →

#120436 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva