#220A2D#220A2D

#220A2D is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.4% C 0.071 H 313.5°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#220A2D
RGBrgb(34, 10, 45)
HSLhsl(281, 64%, 11%)
HSVhsv(281, 78%, 18%)
CMYKcmyk(24.4%, 77.8%, 0%, 82.4%)
CIE-LABlab(6.74, 19.72, -18.09)
CIE-LCHlch(6.74, 26.76, 317.48°)
OKLaboklab(20.41% 0.0486 -0.0512)
OKLCHoklch(20.41% 0.071 313.5)
XYZxyz(1.2418, 0.7467, 2.5608)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220A2D #152D0A
analogous
#100A2D #220A2D #2D0A26
triadic
#220A2D #2D220A #0A2D22
tetradic
#220A2D #2D100A #152D0A #0A262D
square
#220A2D #2D100A #152D0A #0A262D
split-complementary
#220A2D #262D0A #0A2D10
monochromatic
#130619 #130619 #220A2D #48155F #6E2091

Accessibility & contrast

On white

18.27
#220A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220A2D
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220A2D#FFFFFF#000000##FFFFFF
##220A2D1.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01142E
Deuteranopia (green-blind)
#08162C
Tritanopia (blue-blind)
#21111A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #220a2d;
/* rgb */ color: rgb(34, 10, 45);
/* oklch */ color: oklch(20.4% 0.071 313.5);
Tailwind
colors: {
  custom: {
    50: '#5e4b66',
    500: '#220a2d',
    950: '#000000',
  },
}
SCSS
$custom: #220a2d;
$custom-light: #5e4b66;
$custom-dark: #000000;
JSON
{
  "hex": "#220a2d",
  "rgb": {
    "r": 34,
    "g": 10,
    "b": 45
  },
  "hsl": {
    "h": 281.143,
    "s": 63.636,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20412,
    "c": 0.07059,
    "h": 313.5
  },
  "luminance": 0.00747
}

Semantic roles & 50–950 ramp

primary
#220A2D
secondary
#3D6A29
accent
#E74175
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #220A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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