#22062A#22062A

#22062A is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.5% C 0.075 H 317.9°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#22062A
RGBrgb(34, 6, 42)
HSLhsl(287, 75%, 9%)
HSVhsv(287, 86%, 16%)
CMYKcmyk(19%, 85.7%, 0%, 83.5%)
CIE-LABlab(5.76, 20.76, -17.39)
CIE-LCHlch(5.76, 27.08, 320.04°)
OKLaboklab(19.5% 0.0554 -0.05)
OKLCHoklch(19.5% 0.075 317.9)
XYZxyz(1.1427, 0.6375, 2.2529)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22062A #0E2A06
analogous
#10062A #22062A #2A0620
triadic
#22062A #2A2206 #062A22
tetradic
#22062A #2A1006 #0E2A06 #06202A
square
#22062A #2A1006 #0E2A06 #06202A
split-complementary
#22062A #202A06 #062A10
monochromatic
#16041B #16041B #22062A #4D0E60 #791595

Accessibility & contrast

On white

18.63
#22062A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#22062A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22062A
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22062A#FFFFFF#000000##FFFFFF
##22062A1.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112B
Deuteranopia (green-blind)
#071429
Tritanopia (blue-blind)
#220D17
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #22062a;
/* rgb */ color: rgb(34, 6, 42);
/* oklch */ color: oklch(19.5% 0.075 317.9);
Tailwind
colors: {
  custom: {
    50: '#5e4963',
    500: '#22062a',
    950: '#000000',
  },
}
SCSS
$custom: #22062a;
$custom-light: #5e4963;
$custom-dark: #000000;
JSON
{
  "hex": "#22062a",
  "rgb": {
    "r": 34,
    "g": 6,
    "b": 42
  },
  "hsl": {
    "h": 286.667,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.195,
    "c": 0.07464,
    "h": 317.9
  },
  "luminance": 0.00637
}

Semantic roles & 50–950 ramp

primary
#22062A
secondary
#326B21
accent
#F23660
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#040105
muted
#797779

Preview Lab

Preview with #22062A

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

Preview Lab → · Contrast checker → · Palette generator →

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