#22112D#22112D

#22112D is a very dark, muted violet. Relative luminance 0.009; OKLCH L 21.7% C 0.057 H 310.5°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#22112D
RGBrgb(34, 17, 45)
HSLhsl(276, 45%, 12%)
HSVhsv(276, 62%, 18%)
CMYKcmyk(24.4%, 62.2%, 0%, 82.4%)
CIE-LABlab(8.40, 15.43, -15.46)
CIE-LCHlch(8.40, 21.85, 314.94°)
OKLaboklab(21.68% 0.0369 -0.0432)
OKLCHoklch(21.68% 0.057 310.5)
XYZxyz(1.3337, 0.9305, 2.5915)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22112D #1C2D11
analogous
#14112D #22112D #2D112A
triadic
#22112D #2D2211 #112D22
tetradic
#22112D #2D1411 #1C2D11 #112A2D
square
#22112D #2D1411 #1C2D11 #112A2D
split-complementary
#22112D #2A2D11 #112D14
monochromatic
#110816 #110816 #22112D #442259 #653386

Accessibility & contrast

On white

17.71
#22112D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#22112D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22112D
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22112D#FFFFFF#000000##FFFFFF
##22112D1.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A172E
Deuteranopia (green-blind)
#0F192C
Tritanopia (blue-blind)
#21161C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #22112d;
/* rgb */ color: rgb(34, 17, 45);
/* oklch */ color: oklch(21.7% 0.057 310.5);
Tailwind
colors: {
  custom: {
    50: '#5e4f66',
    500: '#22112d',
    950: '#000000',
  },
}
SCSS
$custom: #22112d;
$custom-light: #5e4f66;
$custom-dark: #000000;
JSON
{
  "hex": "#22112d",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 45
  },
  "hsl": {
    "h": 276.429,
    "s": 45.161,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21675,
    "c": 0.05686,
    "h": 310.5
  },
  "luminance": 0.0093
}

Semantic roles & 50–950 ramp

primary
#22112D
secondary
#486535
accent
#D55386
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #22112D

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

Preview Lab → · Contrast checker → · Palette generator →

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