#221824#221824

#221824 is a very dark, muted purple. Relative luminance 0.011; OKLCH L 22.7% C 0.027 H 320.7°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#221824
RGBrgb(34, 24, 36)
HSLhsl(290, 20%, 12%)
HSVhsv(290, 33%, 14%)
CMYKcmyk(5.6%, 33.3%, 0%, 85.9%)
CIE-LABlab(9.96, 7.82, -6.34)
CIE-LCHlch(9.96, 10.07, 320.96°)
OKLaboklab(22.69% 0.021 -0.0172)
OKLCHoklch(22.69% 0.027 320.7)
XYZxyz(1.3047, 1.1208, 1.8163)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221824 #1A2418
analogous
#1C1824 #221824 #241820
triadic
#221824 #242218 #182422
tetradic
#221824 #241C18 #1A2418 #182024
square
#221824 #241C18 #1A2418 #182024
split-complementary
#221824 #202418 #18241C
monochromatic
#110C12 #110C12 #221824 #453049 #67496D

Accessibility & contrast

On white

17.15
#221824 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#221824 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221824
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221824#FFFFFF#000000##FFFFFF
##2218241.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171B24
Deuteranopia (green-blind)
#191C24
Tritanopia (blue-blind)
#22191C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #221824;
/* rgb */ color: rgb(34, 24, 36);
/* oklch */ color: oklch(22.7% 0.027 320.7);
Tailwind
colors: {
  custom: {
    50: '#5d545e',
    500: '#221824',
    950: '#000000',
  },
}
SCSS
$custom: #221824;
$custom-light: #5d545e;
$custom-dark: #000000;
JSON
{
  "hex": "#221824",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 36
  },
  "hsl": {
    "h": 290,
    "s": 20,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22685,
    "c": 0.02714,
    "h": 320.7
  },
  "luminance": 0.01121
}

Semantic roles & 50–950 ramp

primary
#221824
secondary
#455741
accent
#BD6B79
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040204
muted
#797879

Preview Lab

Preview with #221824

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

Preview Lab → · Contrast checker → · Palette generator →

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