#22062E#22062E

#22062E is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.8% C 0.079 H 313.8°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#22062E
RGBrgb(34, 6, 46)
HSLhsl(282, 77%, 10%)
HSVhsv(282, 87%, 18%)
CMYKcmyk(26.1%, 87%, 0%, 82%)
CIE-LABlab(6.03, 22.04, -19.97)
CIE-LCHlch(6.03, 29.74, 317.83°)
OKLaboklab(19.84% 0.0549 -0.0573)
OKLCHoklch(19.84% 0.079 313.8)
XYZxyz(1.2179, 0.6676, 2.6489)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22062E #122E06
analogous
#0E062E #22062E #2E0626
triadic
#22062E #2E2206 #062E22
tetradic
#22062E #2E0E06 #122E06 #06262E
square
#22062E #2E0E06 #122E06 #06262E
split-complementary
#22062E #262E06 #062E0E
monochromatic
#14041B #14041B #22062E #4A0D64 #72149A

Accessibility & contrast

On white

18.53
#22062E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22062E
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22062E#FFFFFF#000000##FFFFFF
##22062E1.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#04142D
Tritanopia (blue-blind)
#210E19
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #22062e;
/* rgb */ color: rgb(34, 6, 46);
/* oklch */ color: oklch(19.8% 0.079 313.8);
Tailwind
colors: {
  custom: {
    50: '#5f4967',
    500: '#22062e',
    950: '#000000',
  },
}
SCSS
$custom: #22062e;
$custom-light: #5f4967;
$custom-dark: #000000;
JSON
{
  "hex": "#22062e",
  "rgb": {
    "r": 34,
    "g": 6,
    "b": 46
  },
  "hsl": {
    "h": 282,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19843,
    "c": 0.07933,
    "h": 313.8
  },
  "luminance": 0.00668
}

Semantic roles & 50–950 ramp

primary
#22062E
secondary
#386F21
accent
#F3346E
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #22062E

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

Preview Lab → · Contrast checker → · Palette generator →

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