#220A2B#220A2B

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

Color values

HEX#220A2B
RGBrgb(34, 10, 43)
HSLhsl(284, 62%, 10%)
HSVhsv(284, 77%, 17%)
CMYKcmyk(20.9%, 76.7%, 0%, 83.1%)
CIE-LABlab(6.61, 19.11, -16.80)
CIE-LCHlch(6.61, 25.45, 318.67°)
OKLaboklab(20.25% 0.0486 -0.0475)
OKLCHoklch(20.25% 0.068 315.6)
XYZxyz(1.2042, 0.7316, 2.3628)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220A2B #132B0A
analogous
#110A2B #220A2B #2B0A23
triadic
#220A2B #2B220A #0A2B22
tetradic
#220A2B #2B110A #132B0A #0A232B
square
#220A2B #2B110A #132B0A #0A232B
split-complementary
#220A2B #232B0A #0A2B11
monochromatic
#140619 #140619 #220A2B #49165D #71218E

Accessibility & contrast

On white

18.32
#220A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220A2B
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220A2B#FFFFFF#000000##FFFFFF
##220A2B1.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02132C
Deuteranopia (green-blind)
#0A152A
Tritanopia (blue-blind)
#211019
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #220a2b;
/* rgb */ color: rgb(34, 10, 43);
/* oklch */ color: oklch(20.3% 0.068 315.6);
Tailwind
colors: {
  custom: {
    50: '#5e4b64',
    500: '#220a2b',
    950: '#000000',
  },
}
SCSS
$custom: #220a2b;
$custom-light: #5e4b64;
$custom-dark: #000000;
JSON
{
  "hex": "#220a2b",
  "rgb": {
    "r": 34,
    "g": 10,
    "b": 43
  },
  "hsl": {
    "h": 283.636,
    "s": 62.264,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20252,
    "c": 0.06801,
    "h": 315.6
  },
  "luminance": 0.00732
}

Semantic roles & 50–950 ramp

primary
#220A2B
secondary
#3A6829
accent
#E5426F
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #220A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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