#120A35#120A35

#120A35 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.080 H 284.4°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#120A35
RGBrgb(18, 10, 53)
HSLhsl(251, 68%, 12%)
HSVhsv(251, 81%, 21%)
CMYKcmyk(66%, 81.1%, 0%, 79.2%)
CIE-LABlab(5.44, 17.14, -26.20)
CIE-LCHlch(5.44, 31.31, 303.20°)
OKLaboklab(19% 0.0198 -0.077)
OKLCHoklch(19% 0.08 284.4)
XYZxyz(1.0004, 0.6027, 3.4311)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120A35 #2D350A
analogous
#0A1735 #120A35 #280A35
triadic
#120A35 #35120A #0A3512
tetradic
#120A35 #350A17 #2D350A #0A3528
square
#120A35 #350A17 #2D350A #0A3528
split-complementary
#120A35 #35280A #17350A
monochromatic
#09051A #09051A #120A35 #231468 #351D9C

Accessibility & contrast

On white

18.74
#120A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#120A35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120A35
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120A35#FFFFFF#000000##FFFFFF
##120A351.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001336
Deuteranopia (green-blind)
#001134
Tritanopia (blue-blind)
#03151E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #120a35;
/* rgb */ color: rgb(18, 10, 53);
/* oklch */ color: oklch(19.0% 0.080 284.4);
Tailwind
colors: {
  custom: {
    50: '#544a6d',
    500: '#120a35',
    950: '#000000',
  },
}
SCSS
$custom: #120a35;
$custom-light: #544a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#120a35",
  "rgb": {
    "r": 18,
    "g": 10,
    "b": 53
  },
  "hsl": {
    "h": 251.163,
    "s": 68.254,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19001,
    "c": 0.07952,
    "h": 284.4
  },
  "luminance": 0.00603
}

Semantic roles & 50–950 ramp

primary
#120A35
secondary
#657228
accent
#EB3DCB
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #120A35

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

Preview Lab → · Contrast checker → · Palette generator →

#120A35 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva