#220A2A#220A2A

#220A2A is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.2% C 0.067 H 316.8°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#220A2A
RGBrgb(34, 10, 42)
HSLhsl(285, 62%, 10%)
HSVhsv(285, 76%, 16%)
CMYKcmyk(19%, 76.2%, 0%, 83.5%)
CIE-LABlab(6.54, 18.80, -16.16)
CIE-LCHlch(6.54, 24.79, 319.33°)
OKLaboklab(20.17% 0.0486 -0.0457)
OKLCHoklch(20.17% 0.067 316.8)
XYZxyz(1.1861, 0.7244, 2.2674)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220A2A #122A0A
analogous
#120A2A #220A2A #2A0A22
triadic
#220A2A #2A220A #0A2A22
tetradic
#220A2A #2A120A #122A0A #0A222A
square
#220A2A #2A120A #122A0A #0A222A
split-complementary
#220A2A #222A0A #0A2A12
monochromatic
#140619 #140619 #220A2A #4A165B #72228D

Accessibility & contrast

On white

18.34
#220A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#220A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220A2A
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220A2A#FFFFFF#000000##FFFFFF
##220A2A1.0018.341.1418.34
#FFFFFF18.341.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03132B
Deuteranopia (green-blind)
#0B1529
Tritanopia (blue-blind)
#221018
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #220a2a;
/* rgb */ color: rgb(34, 10, 42);
/* oklch */ color: oklch(20.2% 0.067 316.8);
Tailwind
colors: {
  custom: {
    50: '#5e4b63',
    500: '#220a2a',
    950: '#000000',
  },
}
SCSS
$custom: #220a2a;
$custom-light: #5e4b63;
$custom-dark: #000000;
JSON
{
  "hex": "#220a2a",
  "rgb": {
    "r": 34,
    "g": 10,
    "b": 42
  },
  "hsl": {
    "h": 285,
    "s": 61.538,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20173,
    "c": 0.06672,
    "h": 316.8
  },
  "luminance": 0.00724
}

Semantic roles & 50–950 ramp

primary
#220A2A
secondary
#386729
accent
#E5436C
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040105
muted
#797779

Preview Lab

Preview with #220A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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