#22112E#22112E

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

Color values

HEX#22112E
RGBrgb(34, 17, 46)
HSLhsl(275, 46%, 12%)
HSVhsv(275, 63%, 18%)
CMYKcmyk(26.1%, 63%, 0%, 82%)
CIE-LABlab(8.47, 15.72, -16.10)
CIE-LCHlch(8.47, 22.50, 314.33°)
OKLaboklab(21.75% 0.0371 -0.0451)
OKLCHoklch(21.75% 0.058 309.4)
XYZxyz(1.3532, 0.9383, 2.6941)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22112E #1D2E11
analogous
#13112E #22112E #2E112C
triadic
#22112E #2E2211 #112E22
tetradic
#22112E #2E1311 #1D2E11 #112C2E
square
#22112E #2E1311 #1D2E11 #112C2E
split-complementary
#22112E #2C2E11 #112E13
monochromatic
#110816 #110816 #22112E #43225B #643287

Accessibility & contrast

On white

17.68
#22112E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22112E
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22112E#FFFFFF#000000##FFFFFF
##22112E1.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09182F
Deuteranopia (green-blind)
#0E192D
Tritanopia (blue-blind)
#20161D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #22112e;
/* rgb */ color: rgb(34, 17, 46);
/* oklch */ color: oklch(21.7% 0.058 309.4);
Tailwind
colors: {
  custom: {
    50: '#5e4f67',
    500: '#22112e',
    950: '#000000',
  },
}
SCSS
$custom: #22112e;
$custom-light: #5e4f67;
$custom-dark: #000000;
JSON
{
  "hex": "#22112e",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 46
  },
  "hsl": {
    "h": 275.172,
    "s": 46.032,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21747,
    "c": 0.05834,
    "h": 309.4
  },
  "luminance": 0.00938
}

Semantic roles & 50–950 ramp

primary
#22112E
secondary
#496634
accent
#D65289
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #22112E

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

Preview Lab → · Contrast checker → · Palette generator →

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