#120A37#120A37

#120A37 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.083 H 283.6°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#120A37
RGBrgb(18, 10, 55)
HSLhsl(251, 69%, 13%)
HSVhsv(251, 82%, 22%)
CMYKcmyk(67.3%, 81.8%, 0%, 78.4%)
CIE-LABlab(5.61, 18.10, -27.39)
CIE-LCHlch(5.61, 32.83, 303.46°)
OKLaboklab(19.22% 0.0194 -0.0803)
OKLCHoklch(19.22% 0.083 283.6)
XYZxyz(1.0474, 0.6215, 3.6784)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120A37 #2F370A
analogous
#0A1837 #120A37 #280A37
triadic
#120A37 #37120A #0A3712
tetradic
#120A37 #370A18 #2F370A #0A3728
square
#120A37 #370A18 #2F370A #0A3728
split-complementary
#120A37 #37280A #18370A
monochromatic
#08051A #08051A #120A37 #23136B #341D9F

Accessibility & contrast

On white

18.68
#120A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#120A37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120A37
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120A37#FFFFFF#000000##FFFFFF
##120A371.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001438
Deuteranopia (green-blind)
#001136
Tritanopia (blue-blind)
#02161F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #120a37;
/* rgb */ color: rgb(18, 10, 55);
/* oklch */ color: oklch(19.2% 0.083 283.6);
Tailwind
colors: {
  custom: {
    50: '#554a6e',
    500: '#120a37',
    950: '#000000',
  },
}
SCSS
$custom: #120a37;
$custom-light: #554a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#120a37",
  "rgb": {
    "r": 18,
    "g": 10,
    "b": 55
  },
  "hsl": {
    "h": 250.667,
    "s": 69.231,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19223,
    "c": 0.08257,
    "h": 283.6
  },
  "luminance": 0.00622
}

Semantic roles & 50–950 ramp

primary
#120A37
secondary
#677428
accent
#EC3CCD
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #120A37

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

Preview Lab → · Contrast checker → · Palette generator →

#120A37 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva