#220C2C#220C2C

#220C2C is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.7% C 0.066 H 313.9°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#220C2C
RGBrgb(34, 12, 44)
HSLhsl(281, 57%, 11%)
HSVhsv(281, 73%, 17%)
CMYKcmyk(22.7%, 72.7%, 0%, 82.7%)
CIE-LABlab(7.09, 18.36, -16.79)
CIE-LCHlch(7.09, 24.88, 317.55°)
OKLaboklab(20.66% 0.0454 -0.0472)
OKLCHoklch(20.66% 0.066 313.9)
XYZxyz(1.2457, 0.7849, 2.4683)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C2C #162C0C
analogous
#120C2C #220C2C #2C0C26
triadic
#220C2C #2C220C #0C2C22
tetradic
#220C2C #2C120C #162C0C #0C262C
square
#220C2C #2C120C #162C0C #0C262C
split-complementary
#220C2C #262C0C #0C2C12
monochromatic
#130718 #130718 #220C2C #47195C #6C268C

Accessibility & contrast

On white

18.15
#220C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#220C2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220C2C
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C2C#FFFFFF#000000##FFFFFF
##220C2C1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04142D
Deuteranopia (green-blind)
#0B162B
Tritanopia (blue-blind)
#21121A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #220c2c;
/* rgb */ color: rgb(34, 12, 44);
/* oklch */ color: oklch(20.7% 0.066 313.9);
Tailwind
colors: {
  custom: {
    50: '#5e4c65',
    500: '#220c2c',
    950: '#000000',
  },
}
SCSS
$custom: #220c2c;
$custom-light: #5e4c65;
$custom-dark: #000000;
JSON
{
  "hex": "#220c2c",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 44
  },
  "hsl": {
    "h": 281.25,
    "s": 57.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20664,
    "c": 0.06555,
    "h": 313.9
  },
  "luminance": 0.00785
}

Semantic roles & 50–950 ramp

primary
#220C2C
secondary
#3F672C
accent
#E04777
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #220C2C

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

Preview Lab → · Contrast checker → · Palette generator →

#220C2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva