#201224#201224

#201224 is a very dark, muted purple. Relative luminance 0.009; OKLCH L 21.0% C 0.040 H 318.5°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#201224
RGBrgb(32, 18, 36)
HSLhsl(287, 33%, 11%)
HSVhsv(287, 50%, 14%)
CMYKcmyk(11.1%, 50%, 0%, 85.9%)
CIE-LABlab(7.83, 11.40, -9.64)
CIE-LCHlch(7.83, 14.93, 319.80°)
OKLaboklab(21% 0.03 -0.0265)
OKLCHoklch(21% 0.04 318.5)
XYZxyz(1.1304, 0.8671, 1.7765)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201224 #162412
analogous
#171224 #201224 #24121F
triadic
#201224 #242012 #122420
tetradic
#201224 #241712 #162412 #121F24
square
#201224 #241712 #162412 #121F24
split-complementary
#201224 #1F2412 #122417
monochromatic
#120A14 #120A14 #201224 #44264D #693B76

Accessibility & contrast

On white

17.90
#201224 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201224
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201224#FFFFFF#000000##FFFFFF
##2012241.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1625
Deuteranopia (green-blind)
#131823
Tritanopia (blue-blind)
#201419
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #201224;
/* rgb */ color: rgb(32, 18, 36);
/* oklch */ color: oklch(21.0% 0.040 318.5);
Tailwind
colors: {
  custom: {
    50: '#5c505e',
    500: '#201224',
    950: '#000000',
  },
}
SCSS
$custom: #201224;
$custom-light: #5c505e;
$custom-dark: #000000;
JSON
{
  "hex": "#201224",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 36
  },
  "hsl": {
    "h": 286.667,
    "s": 33.333,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21004,
    "c": 0.03998,
    "h": 318.5
  },
  "luminance": 0.00867
}

Semantic roles & 50–950 ramp

primary
#201224
secondary
#3F5A38
accent
#C95E76
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040204
muted
#797879

Preview Lab

Preview with #201224

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

Preview Lab → · Contrast checker → · Palette generator →

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