#22062F#22062F

#22062F is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.9% C 0.081 H 312.8°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#22062F
RGBrgb(34, 6, 47)
HSLhsl(281, 77%, 10%)
HSVhsv(281, 87%, 18%)
CMYKcmyk(27.7%, 87.2%, 0%, 81.6%)
CIE-LABlab(6.10, 22.37, -20.60)
CIE-LCHlch(6.10, 30.41, 317.35°)
OKLaboklab(19.93% 0.0547 -0.059)
OKLCHoklch(19.93% 0.081 312.8)
XYZxyz(1.2378, 0.6756, 2.7540)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22062F #132F06
analogous
#0E062F #22062F #2F0627
triadic
#22062F #2F2206 #062F22
tetradic
#22062F #2F0E06 #132F06 #06272F
square
#22062F #2F0E06 #132F06 #06272F
split-complementary
#22062F #272F06 #062F0E
monochromatic
#14031B #14031B #22062F #490D65 #71149C

Accessibility & contrast

On white

18.50
#22062F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#22062F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22062F
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22062F#FFFFFF#000000##FFFFFF
##22062F1.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#03142E
Tritanopia (blue-blind)
#210F19
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #22062f;
/* rgb */ color: rgb(34, 6, 47);
/* oklch */ color: oklch(19.9% 0.081 312.8);
Tailwind
colors: {
  custom: {
    50: '#5f4968',
    500: '#22062f',
    950: '#000000',
  },
}
SCSS
$custom: #22062f;
$custom-light: #5f4968;
$custom-dark: #000000;
JSON
{
  "hex": "#22062f",
  "rgb": {
    "r": 34,
    "g": 6,
    "b": 47
  },
  "hsl": {
    "h": 280.976,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19932,
    "c": 0.0805,
    "h": 312.8
  },
  "luminance": 0.00676
}

Semantic roles & 50–950 ramp

primary
#22062F
secondary
#3A7021
accent
#F43471
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #22062F

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

Preview Lab → · Contrast checker → · Palette generator →

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