#22112C#22112C

#22112C is a very dark, muted violet. Relative luminance 0.009; OKLCH L 21.6% C 0.055 H 311.7°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#22112C
RGBrgb(34, 17, 44)
HSLhsl(278, 44%, 12%)
HSVhsv(278, 61%, 17%)
CMYKcmyk(22.7%, 61.4%, 0%, 82.7%)
CIE-LABlab(8.33, 15.14, -14.83)
CIE-LCHlch(8.33, 21.19, 315.61°)
OKLaboklab(21.6% 0.0368 -0.0414)
OKLCHoklch(21.6% 0.055 311.7)
XYZxyz(1.3147, 0.9229, 2.4913)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22112C #1B2C11
analogous
#15112C #22112C #2C1129
triadic
#22112C #2C2211 #112C22
tetradic
#22112C #2C1511 #1B2C11 #11292C
square
#22112C #2C1511 #1B2C11 #11292C
split-complementary
#22112C #292C11 #112C15
monochromatic
#110916 #110916 #22112C #442258 #663384

Accessibility & contrast

On white

17.73
#22112C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22112C
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22112C#FFFFFF#000000##FFFFFF
##22112C1.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A172D
Deuteranopia (green-blind)
#0F192B
Tritanopia (blue-blind)
#21151C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #22112c;
/* rgb */ color: rgb(34, 17, 44);
/* oklch */ color: oklch(21.6% 0.055 311.7);
Tailwind
colors: {
  custom: {
    50: '#5e4f65',
    500: '#22112c',
    950: '#000000',
  },
}
SCSS
$custom: #22112c;
$custom-light: #5e4f65;
$custom-dark: #000000;
JSON
{
  "hex": "#22112c",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 44
  },
  "hsl": {
    "h": 277.778,
    "s": 44.262,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21604,
    "c": 0.05537,
    "h": 311.7
  },
  "luminance": 0.00923
}

Semantic roles & 50–950 ramp

primary
#22112C
secondary
#466435
accent
#D45483
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040205
muted
#79787A

Preview Lab

Preview with #22112C

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

Preview Lab → · Contrast checker → · Palette generator →

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