#22202A#22202A

#22202A is a dark, near-neutral violet. Relative luminance 0.015; OKLCH L 25.0% C 0.019 H 294.2°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#22202A
RGBrgb(34, 32, 42)
HSLhsl(252, 14%, 15%)
HSVhsv(252, 24%, 16%)
CMYKcmyk(19%, 23.8%, 0%, 83.5%)
CIE-LABlab(12.86, 3.58, -6.34)
CIE-LCHlch(12.86, 7.28, 299.44°)
OKLaboklab(25.02% 0.0077 -0.0173)
OKLCHoklch(25.02% 0.019 294.2)
XYZxyz(1.5940, 1.5403, 2.4034)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22202A #282A20
analogous
#20232A #22202A #27202A
triadic
#22202A #2A2220 #202A22
tetradic
#22202A #2A2023 #282A20 #202A27
square
#22202A #2A2023 #282A20 #202A27
split-complementary
#22202A #2A2720 #232A20
monochromatic
#0E0D11 #0E0D11 #22202A #3E3A4D #5A556F

Accessibility & contrast

On white

16.06
#22202A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#22202A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22202A
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22202A#FFFFFF#000000##FFFFFF
##22202A1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E212A
Deuteranopia (green-blind)
#1E212A
Tritanopia (blue-blind)
#212223
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #22202a;
/* rgb */ color: rgb(34, 32, 42);
/* oklch */ color: oklch(25.0% 0.019 294.2);
Tailwind
colors: {
  custom: {
    50: '#5d5b63',
    500: '#22202a',
    950: '#000000',
  },
}
SCSS
$custom: #22202a;
$custom-light: #5d5b63;
$custom-dark: #000000;
JSON
{
  "hex": "#22202a",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 42
  },
  "hsl": {
    "h": 252,
    "s": 13.514,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25016,
    "c": 0.01891,
    "h": 294.2
  },
  "luminance": 0.0154
}

Semantic roles & 50–950 ramp

primary
#22202A
secondary
#585B4B
accent
#B671A9
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040405
muted
#797979

Preview Lab

Preview with #22202A

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

Preview Lab → · Contrast checker → · Palette generator →

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