#22162C#22162C

#22162C is a very dark, muted violet. Relative luminance 0.011; OKLCH L 22.7% C 0.044 H 308.3°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#22162C
RGBrgb(34, 22, 44)
HSLhsl(273, 33%, 13%)
HSVhsv(273, 50%, 17%)
CMYKcmyk(22.7%, 50%, 0%, 82.7%)
CIE-LABlab(9.77, 11.54, -12.57)
CIE-LCHlch(9.77, 17.07, 312.54°)
OKLaboklab(22.68% 0.0276 -0.0349)
OKLCHoklch(22.68% 0.044 308.3)
XYZxyz(1.4011, 1.0958, 2.5201)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22162C #202C16
analogous
#17162C #22162C #2C162B
triadic
#22162C #2C2216 #162C22
tetradic
#22162C #2C1716 #202C16 #162B2C
square
#22162C #2C1716 #202C16 #162B2C
split-complementary
#22162C #2B2C16 #162C17
monochromatic
#100A14 #100A14 #22162C #422A55 #613F7E

Accessibility & contrast

On white

17.22
#22162C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22162C
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22162C#FFFFFF#000000##FFFFFF
##22162C1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111A2D
Deuteranopia (green-blind)
#141B2B
Tritanopia (blue-blind)
#21191E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #22162c;
/* rgb */ color: rgb(34, 22, 44);
/* oklch */ color: oklch(22.7% 0.044 308.3);
Tailwind
colors: {
  custom: {
    50: '#5d5365',
    500: '#22162c',
    950: '#000000',
  },
}
SCSS
$custom: #22162c;
$custom-light: #5d5365;
$custom-dark: #000000;
JSON
{
  "hex": "#22162c",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 44
  },
  "hsl": {
    "h": 272.727,
    "s": 33.333,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22677,
    "c": 0.04445,
    "h": 308.3
  },
  "luminance": 0.01096
}

Semantic roles & 50–950 ramp

primary
#22162C
secondary
#4D613C
accent
#C95E8F
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040205
muted
#79787A

Preview Lab

Preview with #22162C

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

Preview Lab → · Contrast checker → · Palette generator →

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