#220A2C#220A2C

#220A2C is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.3% C 0.069 H 314.6°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#220A2C
RGBrgb(34, 10, 44)
HSLhsl(282, 63%, 11%)
HSVhsv(282, 77%, 17%)
CMYKcmyk(22.7%, 77.3%, 0%, 82.7%)
CIE-LABlab(6.68, 19.42, -17.45)
CIE-LCHlch(6.68, 26.10, 318.06°)
OKLaboklab(20.33% 0.0486 -0.0494)
OKLCHoklch(20.33% 0.069 314.6)
XYZxyz(1.2228, 0.7391, 2.4606)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220A2C #142C0A
analogous
#110A2C #220A2C #2C0A25
triadic
#220A2C #2C220A #0A2C22
tetradic
#220A2C #2C110A #142C0A #0A252C
square
#220A2C #2C110A #142C0A #0A252C
split-complementary
#220A2C #252C0A #0A2C11
monochromatic
#130619 #130619 #220A2C #49155E #6F2190

Accessibility & contrast

On white

18.30
#220A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#220A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220A2C
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220A2C#FFFFFF#000000##FFFFFF
##220A2C1.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02132D
Deuteranopia (green-blind)
#09152B
Tritanopia (blue-blind)
#211019
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #220a2c;
/* rgb */ color: rgb(34, 10, 44);
/* oklch */ color: oklch(20.3% 0.069 314.6);
Tailwind
colors: {
  custom: {
    50: '#5e4b65',
    500: '#220a2c',
    950: '#000000',
  },
}
SCSS
$custom: #220a2c;
$custom-light: #5e4b65;
$custom-dark: #000000;
JSON
{
  "hex": "#220a2c",
  "rgb": {
    "r": 34,
    "g": 10,
    "b": 44
  },
  "hsl": {
    "h": 282.353,
    "s": 62.963,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20331,
    "c": 0.06928,
    "h": 314.6
  },
  "luminance": 0.00739
}

Semantic roles & 50–950 ramp

primary
#220A2C
secondary
#3C6929
accent
#E64272
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #220A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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