#22112B#22112B

#22112B is a very dark, muted violet. Relative luminance 0.009; OKLCH L 21.5% C 0.054 H 312.8°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#22112B
RGBrgb(34, 17, 43)
HSLhsl(279, 43%, 12%)
HSVhsv(279, 60%, 17%)
CMYKcmyk(20.9%, 60.5%, 0%, 83.1%)
CIE-LABlab(8.27, 14.86, -14.19)
CIE-LCHlch(8.27, 20.55, 316.33°)
OKLaboklab(21.53% 0.0366 -0.0395)
OKLCHoklch(21.53% 0.054 312.8)
XYZxyz(1.2961, 0.9154, 2.3934)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22112B #1A2B11
analogous
#15112B #22112B #2B1127
triadic
#22112B #2B2211 #112B22
tetradic
#22112B #2B1511 #1A2B11 #11272B
square
#22112B #2B1511 #1A2B11 #11272B
split-complementary
#22112B #272B11 #112B15
monochromatic
#110916 #110916 #22112B #452257 #673483

Accessibility & contrast

On white

17.75
#22112B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22112B
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22112B#FFFFFF#000000##FFFFFF
##22112B1.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B172C
Deuteranopia (green-blind)
#10182A
Tritanopia (blue-blind)
#21151C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #22112b;
/* rgb */ color: rgb(34, 17, 43);
/* oklch */ color: oklch(21.5% 0.054 312.8);
Tailwind
colors: {
  custom: {
    50: '#5e4f64',
    500: '#22112b',
    950: '#000000',
  },
}
SCSS
$custom: #22112b;
$custom-light: #5e4f64;
$custom-dark: #000000;
JSON
{
  "hex": "#22112b",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 43
  },
  "hsl": {
    "h": 279.231,
    "s": 43.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21534,
    "c": 0.05388,
    "h": 312.8
  },
  "luminance": 0.00915
}

Semantic roles & 50–950 ramp

primary
#22112B
secondary
#456335
accent
#D35580
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040205
muted
#79787A

Preview Lab

Preview with #22112B

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

Preview Lab → · Contrast checker → · Palette generator →

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