#221626#221626

#221626 is a very dark, muted purple. Relative luminance 0.011; OKLCH L 22.3% C 0.035 H 317.5°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#221626
RGBrgb(34, 22, 38)
HSLhsl(285, 27%, 12%)
HSVhsv(285, 42%, 15%)
CMYKcmyk(10.5%, 42.1%, 0%, 85.1%)
CIE-LABlab(9.43, 9.84, -8.64)
CIE-LCHlch(9.43, 13.10, 318.71°)
OKLaboklab(22.32% 0.0258 -0.0236)
OKLCHoklch(22.32% 0.035 317.5)
XYZxyz(1.2964, 1.0539, 1.9685)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221626 #1A2616
analogous
#1A1626 #221626 #261622
triadic
#221626 #262216 #162622
tetradic
#221626 #261A16 #1A2616 #162226
square
#221626 #261A16 #1A2616 #162226
split-complementary
#221626 #222616 #16261A
monochromatic
#110B13 #110B13 #221626 #452C4D #674374

Accessibility & contrast

On white

17.34
#221626 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#221626 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221626
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221626#FFFFFF#000000##FFFFFF
##2216261.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141A27
Deuteranopia (green-blind)
#171B25
Tritanopia (blue-blind)
#22181C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #221626;
/* rgb */ color: rgb(34, 22, 38);
/* oklch */ color: oklch(22.3% 0.035 317.5);
Tailwind
colors: {
  custom: {
    50: '#5d5360',
    500: '#221626',
    950: '#000000',
  },
}
SCSS
$custom: #221626;
$custom-light: #5d5360;
$custom-dark: #000000;
JSON
{
  "hex": "#221626",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 38
  },
  "hsl": {
    "h": 285,
    "s": 26.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22315,
    "c": 0.03496,
    "h": 317.5
  },
  "luminance": 0.01054
}

Semantic roles & 50–950 ramp

primary
#221626
secondary
#455A3E
accent
#C3657C
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040204
muted
#797879

Preview Lab

Preview with #221626

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

Preview Lab → · Contrast checker → · Palette generator →

#221626 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva