#120931#120931

#120931 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.4% C 0.075 H 286.9°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#120931
RGBrgb(18, 9, 49)
HSLhsl(254, 69%, 11%)
HSVhsv(254, 82%, 19%)
CMYKcmyk(63.3%, 81.6%, 0%, 80.8%)
CIE-LABlab(4.93, 15.62, -24.07)
CIE-LCHlch(4.93, 28.70, 302.98°)
OKLaboklab(18.38% 0.0218 -0.0716)
OKLCHoklch(18.38% 0.075 286.9)
XYZxyz(0.9014, 0.5457, 2.9630)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120931 #283109
analogous
#091431 #120931 #260931
triadic
#120931 #311209 #093112
tetradic
#120931 #310914 #283109 #093126
square
#120931 #310914 #283109 #093126
split-complementary
#120931 #312609 #143109
monochromatic
#09051A #09051A #120931 #251265 #381C98

Accessibility & contrast

On white

18.93
#120931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120931
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120931#FFFFFF#000000##FFFFFF
##1209311.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001232
Deuteranopia (green-blind)
#001030
Tritanopia (blue-blind)
#06131B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #120931;
/* rgb */ color: rgb(18, 9, 49);
/* oklch */ color: oklch(18.4% 0.075 286.9);
Tailwind
colors: {
  custom: {
    50: '#534a69',
    500: '#120931',
    950: '#000000',
  },
}
SCSS
$custom: #120931;
$custom-light: #534a69;
$custom-dark: #000000;
JSON
{
  "hex": "#120931",
  "rgb": {
    "r": 18,
    "g": 9,
    "b": 49
  },
  "hsl": {
    "h": 253.5,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18377,
    "c": 0.07488,
    "h": 286.9
  },
  "luminance": 0.00546
}

Semantic roles & 50–950 ramp

primary
#120931
secondary
#5F6F27
accent
#EC3CC4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #120931

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

Preview Lab → · Contrast checker → · Palette generator →

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