#120737#120737

#120737 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.7% C 0.087 H 285.0°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#120737
RGBrgb(18, 7, 55)
HSLhsl(254, 77%, 12%)
HSVhsv(254, 87%, 22%)
CMYKcmyk(67.3%, 87.3%, 0%, 78.4%)
CIE-LABlab(5.03, 19.47, -28.34)
CIE-LCHlch(5.03, 34.39, 304.49°)
OKLaboklab(18.68% 0.0225 -0.084)
OKLCHoklch(18.68% 0.087 285)
XYZxyz(1.0148, 0.5563, 3.6676)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120737 #2C3707
analogous
#071437 #120737 #2A0737
triadic
#120737 #371207 #073712
tetradic
#120737 #370714 #2C3707 #07372A
square
#120737 #370714 #2C3707 #07372A
split-complementary
#120737 #372A07 #143707
monochromatic
#09031B #09031B #120737 #240E6D #3615A4

Accessibility & contrast

On white

18.90
#120737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#120737 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120737
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120737#FFFFFF#000000##FFFFFF
##1207371.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001238
Deuteranopia (green-blind)
#000F36
Tritanopia (blue-blind)
#02141E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #120737;
/* rgb */ color: rgb(18, 7, 55);
/* oklch */ color: oklch(18.7% 0.087 285.0);
Tailwind
colors: {
  custom: {
    50: '#55496e',
    500: '#120737',
    950: '#000000',
  },
}
SCSS
$custom: #120737;
$custom-light: #55496e;
$custom-dark: #000000;
JSON
{
  "hex": "#120737",
  "rgb": {
    "r": 18,
    "g": 7,
    "b": 55
  },
  "hsl": {
    "h": 253.75,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18676,
    "c": 0.08693,
    "h": 285
  },
  "luminance": 0.00556
}

Semantic roles & 50–950 ramp

primary
#120737
secondary
#637723
accent
#F434C8
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #120737

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

Preview Lab → · Contrast checker → · Palette generator →

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