#120214#120214

#120214 is a very dark, muted purple. Relative luminance 0.002; OKLCH L 13.7% C 0.051 H 323.9°. Best body text is #FFFFFF at 20.10:1 contrast (WCAG AA passes).

Color values

HEX#120214
RGBrgb(18, 2, 20)
HSLhsl(293, 82%, 4%)
HSVhsv(293, 90%, 8%)
CMYKcmyk(10%, 90%, 0%, 92.2%)
CIE-LABlab(2.01, 7.62, -6.31)
CIE-LCHlch(2.01, 9.89, 320.34°)
OKLaboklab(13.72% 0.0412 -0.03)
OKLCHoklch(13.72% 0.051 323.9)
XYZxyz(0.3974, 0.2225, 0.6837)
Luminance0.0022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#120214 #041402
analogous
#090214 #120214 #14020D
triadic
#120214 #141202 #021412
tetradic
#120214 #140902 #041402 #020D14
square
#120214 #140902 #041402 #020D14
split-complementary
#120214 #0D1402 #021409
monochromatic
#19031C #19031C #19031C #44084C #760D83

Accessibility & contrast

On white

20.10
#120214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#120214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #120214
20.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##120214#FFFFFF#000000##FFFFFF
##1202141.0020.101.0420.10
#FFFFFF20.101.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000615
Deuteranopia (green-blind)
#040813
Tritanopia (blue-blind)
#130408
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #120214;
/* rgb */ color: rgb(18, 2, 20);
/* oklch */ color: oklch(13.7% 0.051 323.9);
Tailwind
colors: {
  custom: {
    50: '#4f4751',
    500: '#120214',
    950: '#000000',
  },
}
SCSS
$custom: #120214;
$custom-light: #4f4751;
$custom-dark: #000000;
JSON
{
  "hex": "#120214",
  "rgb": {
    "r": 18,
    "g": 2,
    "b": 20
  },
  "hsl": {
    "h": 293.333,
    "s": 81.818,
    "l": 4.314
  },
  "oklch": {
    "l": 0.13718,
    "c": 0.05101,
    "h": 323.9
  },
  "luminance": 0.00223
}

Semantic roles & 50–950 ramp

primary
#120214
secondary
#205918
accent
#F83046
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#020002
muted
#787778

Preview Lab

Preview with #120214

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

Preview Lab → · Contrast checker → · Palette generator →

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