#120136#120136

#120136 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.3% C 0.096 H 288.4°. Best body text is #FFFFFF at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#120136
RGBrgb(18, 1, 54)
HSLhsl(259, 96%, 11%)
HSVhsv(259, 98%, 21%)
CMYKcmyk(66.7%, 98.1%, 0%, 78.8%)
CIE-LABlab(3.76, 21.60, -29.64)
CIE-LCHlch(3.76, 36.68, 306.08°)
OKLaboklab(17.34% 0.0302 -0.0908)
OKLCHoklch(17.34% 0.096 288.4)
XYZxyz(0.9260, 0.4166, 3.5209)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120136 #253601
analogous
#010A36 #120136 #2C0136
triadic
#120136 #361201 #013612
tetradic
#120136 #36010A #253601 #01362C
square
#120136 #36010A #253601 #01362C
split-complementary
#120136 #362C01 #0A3601
monochromatic
#0A011E #0A011E #120136 #260272 #3A03AE

Accessibility & contrast

On white

19.38
#120136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#120136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120136
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120136#FFFFFF#000000##FFFFFF
##1201361.0019.381.0819.38
#FFFFFF19.381.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F37
Deuteranopia (green-blind)
#000C35
Tritanopia (blue-blind)
#03101C
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #120136;
/* rgb */ color: rgb(18, 1, 54);
/* oklch */ color: oklch(17.3% 0.096 288.4);
Tailwind
colors: {
  custom: {
    50: '#54466e',
    500: '#120136',
    950: '#000000',
  },
}
SCSS
$custom: #120136;
$custom-light: #54466e;
$custom-dark: #000000;
JSON
{
  "hex": "#120136",
  "rgb": {
    "r": 18,
    "g": 1,
    "b": 54
  },
  "hsl": {
    "h": 259.245,
    "s": 96.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17337,
    "c": 0.09565,
    "h": 288.4
  },
  "luminance": 0.00417
}

Semantic roles & 50–950 ramp

primary
#120136
secondary
#5B7B18
accent
#FF29BA
background
#F5F3F6
surface
#E9E5EC
border
#C5C1C7
text
#030007
muted
#78777A

Preview Lab

Preview with #120136

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

Preview Lab → · Contrast checker → · Palette generator →

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