#120741#120741

#120741 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.101 H 280.9°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#120741
RGBrgb(18, 7, 65)
HSLhsl(251, 81%, 14%)
HSVhsv(251, 89%, 25%)
CMYKcmyk(72.3%, 89.2%, 0%, 74.5%)
CIE-LABlab(5.98, 24.19, -34.01)
CIE-LCHlch(5.98, 41.74, 305.43°)
OKLaboklab(19.9% 0.0191 -0.0991)
OKLCHoklch(19.9% 0.101 280.9)
XYZxyz(1.2793, 0.6621, 5.0604)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120741 #364107
analogous
#071941 #120741 #2F0741
triadic
#120741 #411207 #074112
tetradic
#120741 #410719 #364107 #07412F
square
#120741 #410719 #364107 #07412F
split-complementary
#120741 #412F07 #194107
monochromatic
#08031C #08031C #120741 #210D78 #3113B0

Accessibility & contrast

On white

18.54
#120741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#120741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120741
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120741#FFFFFF#000000##FFFFFF
##1207411.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#001140
Tritanopia (blue-blind)
#001824
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #120741;
/* rgb */ color: rgb(18, 7, 65);
/* oklch */ color: oklch(19.9% 0.101 280.9);
Tailwind
colors: {
  custom: {
    50: '#584976',
    500: '#120741',
    950: '#000000',
  },
}
SCSS
$custom: #120741;
$custom-light: #584976;
$custom-dark: #000000;
JSON
{
  "hex": "#120741",
  "rgb": {
    "r": 18,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 251.379,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19901,
    "c": 0.10097,
    "h": 280.9
  },
  "luminance": 0.00662
}

Semantic roles & 50–950 ramp

primary
#120741
secondary
#6F8024
accent
#F731D1
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #120741

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

Preview Lab → · Contrast checker → · Palette generator →

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