#22002B#22002B

#22002B is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.5% C 0.089 H 318.6°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#22002B
RGBrgb(34, 0, 43)
HSLhsl(287, 100%, 8%)
HSVhsv(287, 100%, 17%)
CMYKcmyk(20.9%, 100%, 0%, 83.1%)
CIE-LABlab(4.65, 23.95, -19.90)
CIE-LCHlch(4.65, 31.14, 320.28°)
OKLaboklab(18.49% 0.067 -0.0592)
OKLCHoklch(18.49% 0.089 318.6)
XYZxyz(1.0957, 0.5146, 2.3266)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22002B #092B00
analogous
#0C002B #22002B #2B001E
triadic
#22002B #2B2200 #002B22
tetradic
#22002B #2B0C00 #092B00 #001E2B
square
#22002B #2B0C00 #092B00 #001E2B
split-complementary
#22002B #1E2B00 #002B0C
monochromatic
#18001F #18001F #22002B #520068 #8300A5

Accessibility & contrast

On white

19.04
#22002B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#22002B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22002B
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22002B#FFFFFF#000000##FFFFFF
##22002B1.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2C
Deuteranopia (green-blind)
#01112A
Tritanopia (blue-blind)
#220815
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #22002b;
/* rgb */ color: rgb(34, 0, 43);
/* oklch */ color: oklch(18.5% 0.089 318.6);
Tailwind
colors: {
  custom: {
    50: '#5e4664',
    500: '#22002b',
    950: '#000000',
  },
}
SCSS
$custom: #22002b;
$custom-light: #5e4664;
$custom-dark: #000000;
JSON
{
  "hex": "#22002b",
  "rgb": {
    "r": 34,
    "g": 0,
    "b": 43
  },
  "hsl": {
    "h": 287.442,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18485,
    "c": 0.08937,
    "h": 318.6
  },
  "luminance": 0.00514
}

Semantic roles & 50–950 ramp

primary
#22002B
secondary
#287314
accent
#FF2956
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#050005
muted
#79767A

Preview Lab

Preview with #22002B

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

Preview Lab → · Contrast checker → · Palette generator →

#22002B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva