#120937#120937

#120937 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.084 H 284.0°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#120937
RGBrgb(18, 9, 55)
HSLhsl(252, 72%, 13%)
HSVhsv(252, 84%, 22%)
CMYKcmyk(67.3%, 83.6%, 0%, 78.4%)
CIE-LABlab(5.42, 18.56, -27.71)
CIE-LCHlch(5.42, 33.35, 303.82°)
OKLaboklab(19.04% 0.0204 -0.0815)
OKLCHoklch(19.04% 0.084 284)
XYZxyz(1.0365, 0.5997, 3.6748)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120937 #2E3709
analogous
#091737 #120937 #290937
triadic
#120937 #371209 #093712
tetradic
#120937 #370917 #2E3709 #093729
square
#120937 #370917 #2E3709 #093729
split-complementary
#120937 #372909 #173709
monochromatic
#09041A #09041A #120937 #23126C #341AA0

Accessibility & contrast

On white

18.75
#120937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#120937 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120937
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120937#FFFFFF#000000##FFFFFF
##1209371.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001338
Deuteranopia (green-blind)
#001036
Tritanopia (blue-blind)
#02151F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #120937;
/* rgb */ color: rgb(18, 9, 55);
/* oklch */ color: oklch(19.0% 0.084 284.0);
Tailwind
colors: {
  custom: {
    50: '#554a6e',
    500: '#120937',
    950: '#000000',
  },
}
SCSS
$custom: #120937;
$custom-light: #554a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#120937",
  "rgb": {
    "r": 18,
    "g": 9,
    "b": 55
  },
  "hsl": {
    "h": 251.739,
    "s": 71.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.19044,
    "c": 0.08399,
    "h": 284
  },
  "luminance": 0.006
}

Semantic roles & 50–950 ramp

primary
#120937
secondary
#667527
accent
#EF39CB
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #120937

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

Preview Lab → · Contrast checker → · Palette generator →

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