#120632#120632

#120632 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.9% C 0.081 H 288.1°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#120632
RGBrgb(18, 6, 50)
HSLhsl(256, 79%, 11%)
HSVhsv(256, 88%, 20%)
CMYKcmyk(64%, 88%, 0%, 80.4%)
CIE-LABlab(4.42, 17.38, -25.63)
CIE-LCHlch(4.42, 30.97, 304.14°)
OKLaboklab(17.89% 0.0253 -0.0773)
OKLCHoklch(17.89% 0.081 288.1)
XYZxyz(0.8901, 0.4891, 3.0645)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120632 #263206
analogous
#061032 #120632 #280632
triadic
#120632 #321206 #063212
tetradic
#120632 #320610 #263206 #063228
square
#120632 #320610 #263206 #063228
split-complementary
#120632 #322806 #103206
monochromatic
#0A031B #0A031B #120632 #260D69 #39139F

Accessibility & contrast

On white

19.13
#120632 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120632
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120632#FFFFFF#000000##FFFFFF
##1206321.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001033
Deuteranopia (green-blind)
#000E31
Tritanopia (blue-blind)
#06121B
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #120632;
/* rgb */ color: rgb(18, 6, 50);
/* oklch */ color: oklch(17.9% 0.081 288.1);
Tailwind
colors: {
  custom: {
    50: '#53496a',
    500: '#120632',
    950: '#000000',
  },
}
SCSS
$custom: #120632;
$custom-light: #53496a;
$custom-dark: #000000;
JSON
{
  "hex": "#120632",
  "rgb": {
    "r": 18,
    "g": 6,
    "b": 50
  },
  "hsl": {
    "h": 256.364,
    "s": 78.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.17891,
    "c": 0.08136,
    "h": 288.1
  },
  "luminance": 0.00489
}

Semantic roles & 50–950 ramp

primary
#120632
secondary
#5C7321
accent
#F533C0
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #120632

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

Preview Lab → · Contrast checker → · Palette generator →

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