#220B29#220B29

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

Color values

HEX#220B29
RGBrgb(34, 11, 41)
HSLhsl(286, 58%, 10%)
HSVhsv(286, 73%, 16%)
CMYKcmyk(17.1%, 73.2%, 0%, 83.9%)
CIE-LABlab(6.68, 18.00, -15.19)
CIE-LCHlch(6.68, 23.55, 319.84°)
OKLaboklab(20.26% 0.047 -0.0428)
OKLCHoklch(20.26% 0.064 317.7)
XYZxyz(1.1795, 0.7396, 2.1780)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B29 #12290B
analogous
#130B29 #220B29 #290B21
triadic
#220B29 #29220B #0B2922
tetradic
#220B29 #29130B #12290B #0B2129
square
#220B29 #29130B #12290B #0B2129
split-complementary
#220B29 #21290B #0B2913
monochromatic
#140618 #140618 #220B29 #4A1859 #72258A

Accessibility & contrast

On white

18.29
#220B29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220B29
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220B29#FFFFFF#000000##FFFFFF
##220B291.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05132A
Deuteranopia (green-blind)
#0C1628
Tritanopia (blue-blind)
#221018
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #220b29;
/* rgb */ color: rgb(34, 11, 41);
/* oklch */ color: oklch(20.3% 0.064 317.7);
Tailwind
colors: {
  custom: {
    50: '#5e4b63',
    500: '#220b29',
    950: '#000000',
  },
}
SCSS
$custom: #220b29;
$custom-light: #5e4b63;
$custom-dark: #000000;
JSON
{
  "hex": "#220b29",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 41
  },
  "hsl": {
    "h": 286,
    "s": 57.692,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20263,
    "c": 0.06352,
    "h": 317.7
  },
  "luminance": 0.0074
}

Semantic roles & 50–950 ramp

primary
#220B29
secondary
#38652B
accent
#E1476B
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040105
muted
#797779

Preview Lab

Preview with #220B29

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

Preview Lab → · Contrast checker → · Palette generator →

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