#220C2D#220C2D

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

Color values

HEX#220C2D
RGBrgb(34, 12, 45)
HSLhsl(280, 58%, 11%)
HSVhsv(280, 73%, 18%)
CMYKcmyk(24.4%, 73.3%, 0%, 82.4%)
CIE-LABlab(7.16, 18.66, -17.43)
CIE-LCHlch(7.16, 25.54, 316.95°)
OKLaboklab(20.74% 0.0455 -0.0491)
OKLCHoklch(20.74% 0.067 312.8)
XYZxyz(1.2647, 0.7925, 2.5685)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C2D #172D0C
analogous
#110C2D #220C2D #2D0C27
triadic
#220C2D #2D220C #0C2D22
tetradic
#220C2D #2D110C #172D0C #0C272D
square
#220C2D #2D110C #172D0C #0C272D
split-complementary
#220C2D #272D0C #0C2D11
monochromatic
#120618 #120618 #220C2D #47195D #6B268E

Accessibility & contrast

On white

18.13
#220C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220C2D
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C2D#FFFFFF#000000##FFFFFF
##220C2D1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03152E
Deuteranopia (green-blind)
#0A162C
Tritanopia (blue-blind)
#21121A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #220c2d;
/* rgb */ color: rgb(34, 12, 45);
/* oklch */ color: oklch(20.7% 0.067 312.8);
Tailwind
colors: {
  custom: {
    50: '#5e4c66',
    500: '#220c2d',
    950: '#000000',
  },
}
SCSS
$custom: #220c2d;
$custom-light: #5e4c66;
$custom-dark: #000000;
JSON
{
  "hex": "#220c2d",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 45
  },
  "hsl": {
    "h": 280,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20742,
    "c": 0.0669,
    "h": 312.8
  },
  "luminance": 0.00792
}

Semantic roles & 50–950 ramp

primary
#220C2D
secondary
#40692C
accent
#E1477A
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #220C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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