#120746#120746

#120746 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.5% C 0.108 H 279.3°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#120746
RGBrgb(18, 7, 70)
HSLhsl(250, 82%, 15%)
HSVhsv(250, 90%, 27%)
CMYKcmyk(74.3%, 90%, 0%, 72.5%)
CIE-LABlab(6.53, 26.35, -36.66)
CIE-LCHlch(6.53, 45.15, 305.71°)
OKLaboklab(20.54% 0.0174 -0.1064)
OKLCHoklch(20.54% 0.108 279.3)
XYZxyz(1.4306, 0.7226, 5.8573)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120746 #3B4607
analogous
#071C46 #120746 #310746
triadic
#120746 #461207 #074612
tetradic
#120746 #46071C #3B4607 #074631
square
#120746 #46071C #3B4607 #074631
split-complementary
#120746 #463107 #1C4607
monochromatic
#07031C #07031C #120746 #200D7E #2F12B5

Accessibility & contrast

On white

18.35
#120746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120746
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120746#FFFFFF#000000##FFFFFF
##1207461.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001748
Deuteranopia (green-blind)
#001245
Tritanopia (blue-blind)
#001A27
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #120746;
/* rgb */ color: rgb(18, 7, 70);
/* oklch */ color: oklch(20.5% 0.108 279.3);
Tailwind
colors: {
  custom: {
    50: '#59497a',
    500: '#120746',
    950: '#000000',
  },
}
SCSS
$custom: #120746;
$custom-light: #59497a;
$custom-dark: #000000;
JSON
{
  "hex": "#120746",
  "rgb": {
    "r": 18,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 250.476,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20538,
    "c": 0.10777,
    "h": 279.3
  },
  "luminance": 0.00723
}

Semantic roles & 50–950 ramp

primary
#120746
secondary
#748524
accent
#F830D5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #120746

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

Preview Lab → · Contrast checker → · Palette generator →

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