#22002A#22002A

#22002A is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.4% C 0.088 H 319.6°. Best body text is #FFFFFF at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#22002A
RGBrgb(34, 0, 42)
HSLhsl(289, 100%, 8%)
HSVhsv(289, 100%, 16%)
CMYKcmyk(19%, 100%, 0%, 83.5%)
CIE-LABlab(4.58, 23.61, -19.24)
CIE-LCHlch(4.58, 30.46, 320.82°)
OKLaboklab(18.39% 0.0673 -0.0574)
OKLCHoklch(18.39% 0.088 319.6)
XYZxyz(1.0776, 0.5073, 2.2312)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22002A #082A00
analogous
#0D002A #22002A #2A001D
triadic
#22002A #2A2200 #002A22
tetradic
#22002A #2A0D00 #082A00 #001D2A
square
#22002A #2A0D00 #082A00 #001D2A
split-complementary
#22002A #1D2A00 #002A0D
monochromatic
#19001F #19001F #22002A #540067 #8500A4

Accessibility & contrast

On white

19.07
#22002A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22002A
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22002A#FFFFFF#000000##FFFFFF
##22002A1.0019.071.1019.07
#FFFFFF19.071.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2B
Deuteranopia (green-blind)
#021129
Tritanopia (blue-blind)
#220714
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #22002a;
/* rgb */ color: rgb(34, 0, 42);
/* oklch */ color: oklch(18.4% 0.088 319.6);
Tailwind
colors: {
  custom: {
    50: '#5e4664',
    500: '#22002a',
    950: '#000000',
  },
}
SCSS
$custom: #22002a;
$custom-light: #5e4664;
$custom-dark: #000000;
JSON
{
  "hex": "#22002a",
  "rgb": {
    "r": 34,
    "g": 0,
    "b": 42
  },
  "hsl": {
    "h": 288.571,
    "s": 100,
    "l": 8.235
  },
  "oklch": {
    "l": 0.1839,
    "c": 0.08846,
    "h": 319.6
  },
  "luminance": 0.00507
}

Semantic roles & 50–950 ramp

primary
#22002A
secondary
#267214
accent
#FF2952
background
#F5F3F5
surface
#E9E5EA
border
#C5C1C6
text
#040005
muted
#797779

Preview Lab

Preview with #22002A

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

Preview Lab → · Contrast checker → · Palette generator →

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