#22112A#22112A

#22112A is a very dark, muted purple. Relative luminance 0.009; OKLCH L 21.5% C 0.052 H 314.1°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#22112A
RGBrgb(34, 17, 42)
HSLhsl(281, 42%, 12%)
HSVhsv(281, 60%, 16%)
CMYKcmyk(19%, 59.5%, 0%, 83.5%)
CIE-LABlab(8.20, 14.58, -13.54)
CIE-LCHlch(8.20, 19.90, 317.11°)
OKLaboklab(21.47% 0.0365 -0.0377)
OKLCHoklch(21.47% 0.052 314.1)
XYZxyz(1.2780, 0.9082, 2.2980)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22112A #192A11
analogous
#16112A #22112A #2A1126
triadic
#22112A #2A2211 #112A22
tetradic
#22112A #2A1611 #192A11 #11262A
square
#22112A #2A1611 #192A11 #11262A
split-complementary
#22112A #262A11 #112A16
monochromatic
#120916 #120916 #22112A #452356 #693481

Accessibility & contrast

On white

17.77
#22112A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#22112A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22112A
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22112A#FFFFFF#000000##FFFFFF
##22112A1.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C172B
Deuteranopia (green-blind)
#111829
Tritanopia (blue-blind)
#21151B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #22112a;
/* rgb */ color: rgb(34, 17, 42);
/* oklch */ color: oklch(21.5% 0.052 314.1);
Tailwind
colors: {
  custom: {
    50: '#5e4f63',
    500: '#22112a',
    950: '#000000',
  },
}
SCSS
$custom: #22112a;
$custom-light: #5e4f63;
$custom-dark: #000000;
JSON
{
  "hex": "#22112a",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 42
  },
  "hsl": {
    "h": 280.8,
    "s": 42.373,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21465,
    "c": 0.05242,
    "h": 314.1
  },
  "luminance": 0.00908
}

Semantic roles & 50–950 ramp

primary
#22112A
secondary
#436235
accent
#D2567D
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040205
muted
#797879

Preview Lab

Preview with #22112A

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

Preview Lab → · Contrast checker → · Palette generator →

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