#220226#220226

#220226 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.4% C 0.080 H 323.4°. Best body text is #FFFFFF at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#220226
RGBrgb(34, 2, 38)
HSLhsl(293, 90%, 8%)
HSVhsv(293, 95%, 15%)
CMYKcmyk(10.5%, 94.7%, 0%, 85.1%)
CIE-LABlab(4.73, 21.34, -15.95)
CIE-LCHlch(4.73, 26.65, 323.22°)
OKLaboklab(18.43% 0.0638 -0.0475)
OKLCHoklch(18.43% 0.08 323.4)
XYZxyz(1.0312, 0.5235, 1.8801)
Luminance0.0052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220226 #062602
analogous
#100226 #220226 #260218
triadic
#220226 #262202 #022622
tetradic
#220226 #261002 #062602 #021826
square
#220226 #261002 #062602 #021826
split-complementary
#220226 #182602 #022610
monochromatic
#1A021D #1A021D #220226 #560560 #8A089A

Accessibility & contrast

On white

19.01
#220226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220226
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220226#FFFFFF#000000##FFFFFF
##2202261.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E27
Deuteranopia (green-blind)
#071125
Tritanopia (blue-blind)
#230713
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #220226;
/* rgb */ color: rgb(34, 2, 38);
/* oklch */ color: oklch(18.4% 0.080 323.4);
Tailwind
colors: {
  custom: {
    50: '#5e4760',
    500: '#220226',
    950: '#000000',
  },
}
SCSS
$custom: #220226;
$custom-light: #5e4760;
$custom-dark: #000000;
JSON
{
  "hex": "#220226",
  "rgb": {
    "r": 34,
    "g": 2,
    "b": 38
  },
  "hsl": {
    "h": 293.333,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18425,
    "c": 0.07954,
    "h": 323.4
  },
  "luminance": 0.00523
}

Semantic roles & 50–950 ramp

primary
#220226
secondary
#226B18
accent
#FF2941
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040005
muted
#797779

Preview Lab

Preview with #220226

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

Preview Lab → · Contrast checker → · Palette generator →

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