#201223#201223

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

Color values

HEX#201223
RGBrgb(32, 18, 35)
HSLhsl(289, 32%, 10%)
HSVhsv(289, 49%, 14%)
CMYKcmyk(8.6%, 48.6%, 0%, 86.3%)
CIE-LABlab(7.78, 11.13, -8.96)
CIE-LCHlch(7.78, 14.29, 321.15°)
OKLaboklab(20.94% 0.0297 -0.0246)
OKLCHoklch(20.94% 0.039 320.4)
XYZxyz(1.1153, 0.8611, 1.6972)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201223 #152312
analogous
#171223 #201223 #23121D
triadic
#201223 #232012 #122320
tetradic
#201223 #231712 #152312 #121D23
square
#201223 #231712 #152312 #121D23
split-complementary
#201223 #1D2312 #122317
monochromatic
#120A14 #120A14 #201223 #45274B #6A3C74

Accessibility & contrast

On white

17.92
#201223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201223
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201223#FFFFFF#000000##FFFFFF
##2012231.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201223;
/* rgb */ color: rgb(32, 18, 35);
/* oklch */ color: oklch(20.9% 0.039 320.4);
Tailwind
colors: {
  custom: {
    50: '#5b505d',
    500: '#201223',
    950: '#000000',
  },
}
SCSS
$custom: #201223;
$custom-light: #5b505d;
$custom-dark: #000000;
JSON
{
  "hex": "#201223",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 35
  },
  "hsl": {
    "h": 289.412,
    "s": 32.075,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20944,
    "c": 0.03851,
    "h": 320.4
  },
  "luminance": 0.00861
}

Semantic roles & 50–950 ramp

primary
#201223
secondary
#3E5938
accent
#C86072
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040204
muted
#797879

Preview Lab

Preview with #201223

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

Preview Lab → · Contrast checker → · Palette generator →

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