#120437#120437

#120437 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.1% C 0.092 H 286.4°. Best body text is #FFFFFF at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#120437
RGBrgb(18, 4, 55)
HSLhsl(256, 86%, 12%)
HSVhsv(256, 93%, 22%)
CMYKcmyk(67.3%, 92.7%, 0%, 78.4%)
CIE-LABlab(4.44, 20.82, -29.29)
CIE-LCHlch(4.44, 35.94, 305.41°)
OKLaboklab(18.09% 0.0259 -0.0879)
OKLCHoklch(18.09% 0.092 286.4)
XYZxyz(0.9823, 0.4912, 3.6567)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120437 #293704
analogous
#041037 #120437 #2C0437
triadic
#120437 #371204 #043712
tetradic
#120437 #370410 #293704 #04372C
square
#120437 #370410 #293704 #04372C
split-complementary
#120437 #372C04 #103704
monochromatic
#09021D #09021D #120437 #250870 #370CA9

Accessibility & contrast

On white

19.12
#120437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#120437 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120437
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120437#FFFFFF#000000##FFFFFF
##1204371.0019.121.1019.12
#FFFFFF19.121.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001138
Deuteranopia (green-blind)
#000E36
Tritanopia (blue-blind)
#02131D
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #120437;
/* rgb */ color: rgb(18, 4, 55);
/* oklch */ color: oklch(18.1% 0.092 286.4);
Tailwind
colors: {
  custom: {
    50: '#55476e',
    500: '#120437',
    950: '#000000',
  },
}
SCSS
$custom: #120437;
$custom-light: #55476e;
$custom-dark: #000000;
JSON
{
  "hex": "#120437",
  "rgb": {
    "r": 18,
    "g": 4,
    "b": 55
  },
  "hsl": {
    "h": 256.471,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18094,
    "c": 0.09167,
    "h": 286.4
  },
  "luminance": 0.00491
}

Semantic roles & 50–950 ramp

primary
#120437
secondary
#60791E
accent
#FD2BC3
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #120437

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

Preview Lab → · Contrast checker → · Palette generator →

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