#220224#220224

#220224 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.3% C 0.078 H 325.7°. Best body text is #FFFFFF at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#220224
RGBrgb(34, 2, 36)
HSLhsl(296, 89%, 7%)
HSVhsv(296, 94%, 14%)
CMYKcmyk(5.6%, 94.4%, 0%, 85.9%)
CIE-LABlab(4.61, 20.70, -14.59)
CIE-LCHlch(4.61, 25.32, 324.82°)
OKLaboklab(18.26% 0.0641 -0.0437)
OKLCHoklch(18.26% 0.078 325.7)
XYZxyz(0.9998, 0.5109, 1.7147)
Luminance0.0051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220224 #042402
analogous
#110224 #220224 #240215
triadic
#220224 #242202 #022422
tetradic
#220224 #241102 #042402 #021524
square
#220224 #241102 #042402 #021524
split-complementary
#220224 #152402 #022411
monochromatic
#1B021D #1B021D #220224 #59055E #900898

Accessibility & contrast

On white

19.05
#220224 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#220224 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220224
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220224#FFFFFF#000000##FFFFFF
##2202241.0019.051.1019.05
#FFFFFF19.051.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D25
Deuteranopia (green-blind)
#081123
Tritanopia (blue-blind)
#230612
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #220224;
/* rgb */ color: rgb(34, 2, 36);
/* oklch */ color: oklch(18.3% 0.078 325.7);
Tailwind
colors: {
  custom: {
    50: '#5e475e',
    500: '#220224',
    950: '#000000',
  },
}
SCSS
$custom: #220224;
$custom-light: #5e475e;
$custom-dark: #000000;
JSON
{
  "hex": "#220224",
  "rgb": {
    "r": 34,
    "g": 2,
    "b": 36
  },
  "hsl": {
    "h": 296.471,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.18258,
    "c": 0.07758,
    "h": 325.7
  },
  "luminance": 0.00511
}

Semantic roles & 50–950 ramp

primary
#220224
secondary
#1D6A18
accent
#FF2935
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040004
muted
#797779

Preview Lab

Preview with #220224

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

Preview Lab → · Contrast checker → · Palette generator →

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