#120131#120131

#120131 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.7% C 0.090 H 291.6°. Best body text is #FFFFFF at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#120131
RGBrgb(18, 1, 49)
HSLhsl(261, 96%, 10%)
HSVhsv(261, 98%, 19%)
CMYKcmyk(63.3%, 98%, 0%, 80.8%)
CIE-LABlab(3.36, 18.88, -26.58)
CIE-LCHlch(3.36, 32.60, 305.39°)
OKLaboklab(16.67% 0.033 -0.0833)
OKLCHoklch(16.67% 0.09 291.6)
XYZxyz(0.8145, 0.3720, 2.9340)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120131 #203101
analogous
#010831 #120131 #2A0131
triadic
#120131 #311201 #013112
tetradic
#120131 #310108 #203101 #01312A
square
#120131 #310108 #203101 #01312A
split-complementary
#120131 #312A01 #083101
monochromatic
#0B011E #0B011E #120131 #28026D #3E03A9

Accessibility & contrast

On white

19.55
#120131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#120131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120131
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120131#FFFFFF#000000##FFFFFF
##1201311.0019.551.0719.55
#FFFFFF19.551.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D32
Deuteranopia (green-blind)
#000B30
Tritanopia (blue-blind)
#070E19
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #120131;
/* rgb */ color: rgb(18, 1, 49);
/* oklch */ color: oklch(16.7% 0.090 291.6);
Tailwind
colors: {
  custom: {
    50: '#524669',
    500: '#120131',
    950: '#000000',
  },
}
SCSS
$custom: #120131;
$custom-light: #524669;
$custom-dark: #000000;
JSON
{
  "hex": "#120131",
  "rgb": {
    "r": 18,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 261.25,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.1667,
    "c": 0.08958,
    "h": 291.6
  },
  "luminance": 0.00372
}

Semantic roles & 50–950 ramp

primary
#120131
secondary
#557717
accent
#FF29B3
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #120131

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

Preview Lab → · Contrast checker → · Palette generator →

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