#120832#120832

#120832 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.3% C 0.078 H 287.0°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#120832
RGBrgb(18, 8, 50)
HSLhsl(254, 72%, 11%)
HSVhsv(254, 84%, 20%)
CMYKcmyk(64%, 84%, 0%, 80.4%)
CIE-LABlab(4.81, 16.54, -25.00)
CIE-LCHlch(4.81, 29.98, 303.49°)
OKLaboklab(18.29% 0.0228 -0.0746)
OKLCHoklch(18.29% 0.078 287)
XYZxyz(0.9118, 0.5325, 3.0717)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120832 #283208
analogous
#081332 #120832 #270832
triadic
#120832 #321208 #083212
tetradic
#120832 #320813 #283208 #083227
square
#120832 #320813 #283208 #083227
split-complementary
#120832 #322708 #133208
monochromatic
#09041A #09041A #120832 #251067 #38199C

Accessibility & contrast

On white

18.98
#120832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120832
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120832#FFFFFF#000000##FFFFFF
##1208321.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001133
Deuteranopia (green-blind)
#000F31
Tritanopia (blue-blind)
#06131C
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #120832;
/* rgb */ color: rgb(18, 8, 50);
/* oklch */ color: oklch(18.3% 0.078 287.0);
Tailwind
colors: {
  custom: {
    50: '#53496a',
    500: '#120832',
    950: '#000000',
  },
}
SCSS
$custom: #120832;
$custom-light: #53496a;
$custom-dark: #000000;
JSON
{
  "hex": "#120832",
  "rgb": {
    "r": 18,
    "g": 8,
    "b": 50
  },
  "hsl": {
    "h": 254.286,
    "s": 72.414,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18292,
    "c": 0.07802,
    "h": 287
  },
  "luminance": 0.00533
}

Semantic roles & 50–950 ramp

primary
#120832
secondary
#5F7125
accent
#EF39C4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #120832

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

Preview Lab → · Contrast checker → · Palette generator →

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