#22062C#22062C

#22062C is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.7% C 0.077 H 315.8°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#22062C
RGBrgb(34, 6, 44)
HSLhsl(284, 76%, 10%)
HSVhsv(284, 86%, 17%)
CMYKcmyk(22.7%, 86.4%, 0%, 82.7%)
CIE-LABlab(5.89, 21.40, -18.69)
CIE-LCHlch(5.89, 28.41, 318.86°)
OKLaboklab(19.67% 0.0552 -0.0537)
OKLCHoklch(19.67% 0.077 315.8)
XYZxyz(1.1794, 0.6522, 2.4462)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22062C #102C06
analogous
#0F062C #22062C #2C0623
triadic
#22062C #2C2206 #062C22
tetradic
#22062C #2C0F06 #102C06 #06232C
square
#22062C #2C0F06 #102C06 #06232C
split-complementary
#22062C #232C06 #062C0F
monochromatic
#15041B #15041B #22062C #4C0D62 #751598

Accessibility & contrast

On white

18.58
#22062C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22062C
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22062C#FFFFFF#000000##FFFFFF
##22062C1.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112D
Deuteranopia (green-blind)
#06142B
Tritanopia (blue-blind)
#210D18
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #22062c;
/* rgb */ color: rgb(34, 6, 44);
/* oklch */ color: oklch(19.7% 0.077 315.8);
Tailwind
colors: {
  custom: {
    50: '#5e4965',
    500: '#22062c',
    950: '#000000',
  },
}
SCSS
$custom: #22062c;
$custom-light: #5e4965;
$custom-dark: #000000;
JSON
{
  "hex": "#22062c",
  "rgb": {
    "r": 34,
    "g": 6,
    "b": 44
  },
  "hsl": {
    "h": 284.211,
    "s": 76,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19669,
    "c": 0.07698,
    "h": 315.8
  },
  "luminance": 0.00652
}

Semantic roles & 50–950 ramp

primary
#22062C
secondary
#356D21
accent
#F33567
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #22062C

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

Preview Lab → · Contrast checker → · Palette generator →

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