#120A2D#120A2D

#120A2D is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.2% C 0.067 H 288.4°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#120A2D
RGBrgb(18, 10, 45)
HSLhsl(254, 64%, 11%)
HSVhsv(254, 78%, 18%)
CMYKcmyk(60%, 77.8%, 0%, 82.4%)
CIE-LABlab(4.83, 13.23, -21.24)
CIE-LCHlch(4.83, 25.02, 301.91°)
OKLaboklab(18.15% 0.0211 -0.0635)
OKLCHoklch(18.15% 0.067 288.4)
XYZxyz(0.8315, 0.5351, 2.5416)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120A2D #252D0A
analogous
#0A132D #120A2D #230A2D
triadic
#120A2D #2D120A #0A2D12
tetradic
#120A2D #2D0A13 #252D0A #0A2D23
square
#120A2D #2D0A13 #252D0A #0A2D23
split-complementary
#120A2D #2D230A #132D0A
monochromatic
#0A0619 #0A0619 #120A2D #26155F #3A2091

Accessibility & contrast

On white

18.97
#120A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#120A2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120A2D
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120A2D#FFFFFF#000000##FFFFFF
##120A2D1.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112E
Deuteranopia (green-blind)
#00102C
Tritanopia (blue-blind)
#09121A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #120a2d;
/* rgb */ color: rgb(18, 10, 45);
/* oklch */ color: oklch(18.2% 0.067 288.4);
Tailwind
colors: {
  custom: {
    50: '#524b66',
    500: '#120a2d',
    950: '#000000',
  },
}
SCSS
$custom: #120a2d;
$custom-light: #524b66;
$custom-dark: #000000;
JSON
{
  "hex": "#120a2d",
  "rgb": {
    "r": 18,
    "g": 10,
    "b": 45
  },
  "hsl": {
    "h": 253.714,
    "s": 63.636,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18155,
    "c": 0.06694,
    "h": 288.4
  },
  "luminance": 0.00535
}

Semantic roles & 50–950 ramp

primary
#120A2D
secondary
#5B6A29
accent
#E741C1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #120A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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