#201222#201222

#201222 is a very dark, muted purple. Relative luminance 0.009; OKLCH L 20.9% C 0.037 H 322.3°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#201222
RGBrgb(32, 18, 34)
HSLhsl(293, 31%, 10%)
HSVhsv(293, 47%, 13%)
CMYKcmyk(5.9%, 47.1%, 0%, 86.7%)
CIE-LABlab(7.72, 10.86, -8.29)
CIE-LCHlch(7.72, 13.66, 322.65°)
OKLaboklab(20.89% 0.0293 -0.0226)
OKLCHoklch(20.89% 0.037 322.3)
XYZxyz(1.1007, 0.8552, 1.6202)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201222 #142212
analogous
#181222 #201222 #22121C
triadic
#201222 #222012 #122220
tetradic
#201222 #221812 #142212 #121C22
square
#201222 #221812 #142212 #121C22
split-complementary
#201222 #1C2212 #122218
monochromatic
#130B14 #130B14 #201222 #46274A #6B3C72

Accessibility & contrast

On white

17.93
#201222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#201222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201222
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201222#FFFFFF#000000##FFFFFF
##2012221.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101623
Deuteranopia (green-blind)
#141821
Tritanopia (blue-blind)
#201418
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #201222;
/* rgb */ color: rgb(32, 18, 34);
/* oklch */ color: oklch(20.9% 0.037 322.3);
Tailwind
colors: {
  custom: {
    50: '#5b505d',
    500: '#201222',
    950: '#000000',
  },
}
SCSS
$custom: #201222;
$custom-light: #5b505d;
$custom-dark: #000000;
JSON
{
  "hex": "#201222",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 34
  },
  "hsl": {
    "h": 292.5,
    "s": 30.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20886,
    "c": 0.03706,
    "h": 322.3
  },
  "luminance": 0.00855
}

Semantic roles & 50–950 ramp

primary
#201222
secondary
#3C5738
accent
#C7616E
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040204
muted
#797879

Preview Lab

Preview with #201222

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

Preview Lab → · Contrast checker → · Palette generator →

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