#120932#120932

#120932 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.5% C 0.076 H 286.4°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#120932
RGBrgb(18, 9, 50)
HSLhsl(253, 69%, 12%)
HSVhsv(253, 82%, 20%)
CMYKcmyk(64%, 82%, 0%, 80.4%)
CIE-LABlab(5.01, 16.12, -24.69)
CIE-LCHlch(5.01, 29.49, 303.14°)
OKLaboklab(18.49% 0.0216 -0.0733)
OKLCHoklch(18.49% 0.076 286.4)
XYZxyz(0.9227, 0.5542, 3.0753)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120932 #293209
analogous
#091532 #120932 #270932
triadic
#120932 #321209 #093212
tetradic
#120932 #320915 #293209 #093227
square
#120932 #320915 #293209 #093227
split-complementary
#120932 #322709 #153209
monochromatic
#09051A #09051A #120932 #251266 #371C9A

Accessibility & contrast

On white

18.91
#120932 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120932
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120932#FFFFFF#000000##FFFFFF
##1209321.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001233
Deuteranopia (green-blind)
#001031
Tritanopia (blue-blind)
#06141C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #120932;
/* rgb */ color: rgb(18, 9, 50);
/* oklch */ color: oklch(18.5% 0.076 286.4);
Tailwind
colors: {
  custom: {
    50: '#534a6a',
    500: '#120932',
    950: '#000000',
  },
}
SCSS
$custom: #120932;
$custom-light: #534a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#120932",
  "rgb": {
    "r": 18,
    "g": 9,
    "b": 50
  },
  "hsl": {
    "h": 253.171,
    "s": 69.492,
    "l": 11.569
  },
  "oklch": {
    "l": 0.18486,
    "c": 0.07642,
    "h": 286.4
  },
  "luminance": 0.00554
}

Semantic roles & 50–950 ramp

primary
#120932
secondary
#607027
accent
#EC3BC5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #120932

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

Preview Lab → · Contrast checker → · Palette generator →

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