#120744#120744

#120744 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.105 H 279.9°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#120744
RGBrgb(18, 7, 68)
HSLhsl(251, 81%, 15%)
HSVhsv(251, 90%, 27%)
CMYKcmyk(73.5%, 89.7%, 0%, 73.3%)
CIE-LABlab(6.30, 25.50, -35.61)
CIE-LCHlch(6.30, 43.80, 305.61°)
OKLaboklab(20.28% 0.0181 -0.1035)
OKLCHoklch(20.28% 0.105 279.9)
XYZxyz(1.3685, 0.6978, 5.5303)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120744 #394407
analogous
#071A44 #120744 #310744
triadic
#120744 #441207 #074412
tetradic
#120744 #44071A #394407 #074431
square
#120744 #44071A #394407 #074431
split-complementary
#120744 #443107 #1A4407
monochromatic
#07031C #07031C #120744 #210D7B #2F12B3

Accessibility & contrast

On white

18.43
#120744 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#120744 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120744
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120744#FFFFFF#000000##FFFFFF
##1207441.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001646
Deuteranopia (green-blind)
#001243
Tritanopia (blue-blind)
#001A26
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #120744;
/* rgb */ color: rgb(18, 7, 68);
/* oklch */ color: oklch(20.3% 0.105 279.9);
Tailwind
colors: {
  custom: {
    50: '#594979',
    500: '#120744',
    950: '#000000',
  },
}
SCSS
$custom: #120744;
$custom-light: #594979;
$custom-dark: #000000;
JSON
{
  "hex": "#120744",
  "rgb": {
    "r": 18,
    "g": 7,
    "b": 68
  },
  "hsl": {
    "h": 250.82,
    "s": 81.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20281,
    "c": 0.10507,
    "h": 279.9
  },
  "luminance": 0.00698
}

Semantic roles & 50–950 ramp

primary
#120744
secondary
#728324
accent
#F830D4
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040109
muted
#79777B

Preview Lab

Preview with #120744

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

Preview Lab → · Contrast checker → · Palette generator →

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