#120634#120634

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

Color values

HEX#120634
RGBrgb(18, 6, 52)
HSLhsl(256, 79%, 11%)
HSVhsv(256, 88%, 20%)
CMYKcmyk(65.4%, 88.5%, 0%, 79.6%)
CIE-LABlab(4.58, 18.41, -26.86)
CIE-LCHlch(4.58, 32.56, 304.43°)
OKLaboklab(18.13% 0.0247 -0.0805)
OKLCHoklch(18.13% 0.084 287)
XYZxyz(0.9342, 0.5067, 3.2967)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120634 #283406
analogous
#061134 #120634 #290634
triadic
#120634 #341206 #063412
tetradic
#120634 #340611 #283406 #063429
square
#120634 #340611 #283406 #063429
split-complementary
#120634 #342906 #113406
monochromatic
#09031B #09031B #120634 #250C6B #3813A2

Accessibility & contrast

On white

19.07
#120634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #120634
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120634#FFFFFF#000000##FFFFFF
##1206341.0019.071.1019.07
#FFFFFF19.071.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001135
Deuteranopia (green-blind)
#000E33
Tritanopia (blue-blind)
#04131C
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #120634;
/* rgb */ color: rgb(18, 6, 52);
/* oklch */ color: oklch(18.1% 0.084 287.0);
Tailwind
colors: {
  custom: {
    50: '#54486c',
    500: '#120634',
    950: '#000000',
  },
}
SCSS
$custom: #120634;
$custom-light: #54486c;
$custom-dark: #000000;
JSON
{
  "hex": "#120634",
  "rgb": {
    "r": 18,
    "g": 6,
    "b": 52
  },
  "hsl": {
    "h": 255.652,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18126,
    "c": 0.08422,
    "h": 287
  },
  "luminance": 0.00507
}

Semantic roles & 50–950 ramp

primary
#120634
secondary
#5F7421
accent
#F632C3
background
#F5F4F6
surface
#E8E6EB
border
#C4C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #120634

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

Preview Lab → · Contrast checker → · Palette generator →

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