#120934#120934

#120934 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.7% C 0.079 H 285.4°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#120934
RGBrgb(18, 9, 52)
HSLhsl(253, 70%, 12%)
HSVhsv(253, 83%, 20%)
CMYKcmyk(65.4%, 82.7%, 0%, 79.6%)
CIE-LABlab(5.17, 17.10, -25.91)
CIE-LCHlch(5.17, 31.05, 303.43°)
OKLaboklab(18.71% 0.0211 -0.0766)
OKLCHoklch(18.71% 0.079 285.4)
XYZxyz(0.9668, 0.5719, 3.3076)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120934 #2B3409
analogous
#091634 #120934 #280934
triadic
#120934 #341209 #093412
tetradic
#120934 #340916 #2B3409 #093428
square
#120934 #340916 #2B3409 #093428
split-complementary
#120934 #342809 #163409
monochromatic
#09051A #09051A #120934 #241268 #361B9C

Accessibility & contrast

On white

18.84
#120934 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120934
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120934#FFFFFF#000000##FFFFFF
##1209341.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001235
Deuteranopia (green-blind)
#001033
Tritanopia (blue-blind)
#04141D
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #120934;
/* rgb */ color: rgb(18, 9, 52);
/* oklch */ color: oklch(18.7% 0.079 285.4);
Tailwind
colors: {
  custom: {
    50: '#544a6c',
    500: '#120934',
    950: '#000000',
  },
}
SCSS
$custom: #120934;
$custom-light: #544a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#120934",
  "rgb": {
    "r": 18,
    "g": 9,
    "b": 52
  },
  "hsl": {
    "h": 252.558,
    "s": 70.492,
    "l": 11.961
  },
  "oklch": {
    "l": 0.18706,
    "c": 0.07947,
    "h": 285.4
  },
  "luminance": 0.00572
}

Semantic roles & 50–950 ramp

primary
#120934
secondary
#627227
accent
#ED3BC8
background
#F5F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #120934

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

Preview Lab → · Contrast checker → · Palette generator →

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