#220B2A#220B2A

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

Color values

HEX#220B2A
RGBrgb(34, 11, 42)
HSLhsl(285, 58%, 10%)
HSVhsv(285, 74%, 16%)
CMYKcmyk(19%, 73.8%, 0%, 83.5%)
CIE-LABlab(6.74, 18.30, -15.84)
CIE-LCHlch(6.74, 24.20, 319.12°)
OKLaboklab(20.34% 0.047 -0.0446)
OKLCHoklch(20.34% 0.065 316.5)
XYZxyz(1.1972, 0.7466, 2.2711)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B2A #132A0B
analogous
#120B2A #220B2A #2A0B22
triadic
#220B2A #2A220B #0B2A22
tetradic
#220B2A #2A120B #132A0B #0B222A
square
#220B2A #2A120B #132A0B #0B222A
split-complementary
#220B2A #222A0B #0B2A12
monochromatic
#140618 #140618 #220B2A #49185A #71248B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##220B2A#FFFFFF#000000##FFFFFF
##220B2A1.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)
#04142B
Deuteranopia (green-blind)
#0B1629
Tritanopia (blue-blind)
#221019
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #220b2a;
/* rgb */ color: rgb(34, 11, 42);
/* oklch */ color: oklch(20.3% 0.065 316.5);
Tailwind
colors: {
  custom: {
    50: '#5e4b63',
    500: '#220b2a',
    950: '#000000',
  },
}
SCSS
$custom: #220b2a;
$custom-light: #5e4b63;
$custom-dark: #000000;
JSON
{
  "hex": "#220b2a",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 42
  },
  "hsl": {
    "h": 284.516,
    "s": 58.491,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20339,
    "c": 0.06482,
    "h": 316.5
  },
  "luminance": 0.00747
}

Semantic roles & 50–950 ramp

primary
#220B2A
secondary
#3A662B
accent
#E2466E
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040105
muted
#797779

Preview Lab

Preview with #220B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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