#22162A#22162A

#22162A is a very dark, muted violet. Relative luminance 0.011; OKLCH L 22.6% C 0.041 H 310.9°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#22162A
RGBrgb(34, 22, 42)
HSLhsl(276, 31%, 13%)
HSVhsv(276, 48%, 16%)
CMYKcmyk(19%, 47.6%, 0%, 83.5%)
CIE-LABlab(9.65, 10.96, -11.28)
CIE-LCHlch(9.65, 15.72, 314.18°)
OKLaboklab(22.55% 0.027 -0.0311)
OKLCHoklch(22.55% 0.041 310.9)
XYZxyz(1.3644, 1.0811, 2.3268)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22162A #1E2A16
analogous
#18162A #22162A #2A1628
triadic
#22162A #2A2216 #162A22
tetradic
#22162A #2A1816 #1E2A16 #16282A
square
#22162A #2A1816 #1E2A16 #16282A
split-complementary
#22162A #282A16 #162A18
monochromatic
#100B14 #100B14 #22162A #432B52 #63407A

Accessibility & contrast

On white

17.27
#22162A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#22162A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22162A
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22162A#FFFFFF#000000##FFFFFF
##22162A1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121A2B
Deuteranopia (green-blind)
#151B29
Tritanopia (blue-blind)
#21191E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #22162a;
/* rgb */ color: rgb(34, 22, 42);
/* oklch */ color: oklch(22.6% 0.041 310.9);
Tailwind
colors: {
  custom: {
    50: '#5d5363',
    500: '#22162a',
    950: '#000000',
  },
}
SCSS
$custom: #22162a;
$custom-light: #5d5363;
$custom-dark: #000000;
JSON
{
  "hex": "#22162a",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 42
  },
  "hsl": {
    "h": 276,
    "s": 31.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22551,
    "c": 0.04124,
    "h": 310.9
  },
  "luminance": 0.01081
}

Semantic roles & 50–950 ramp

primary
#22162A
secondary
#4A5F3D
accent
#C7608A
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040205
muted
#797879

Preview Lab

Preview with #22162A

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

Preview Lab → · Contrast checker → · Palette generator →

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