#22112F#22112F

#22112F is a very dark, muted violet. Relative luminance 0.009; OKLCH L 21.8% C 0.060 H 308.4°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#22112F
RGBrgb(34, 17, 47)
HSLhsl(274, 47%, 13%)
HSVhsv(274, 64%, 18%)
CMYKcmyk(27.7%, 63.8%, 0%, 81.6%)
CIE-LABlab(8.54, 16.02, -16.73)
CIE-LCHlch(8.54, 23.16, 313.77°)
OKLaboklab(21.82% 0.0372 -0.0469)
OKLCHoklch(21.82% 0.06 308.4)
XYZxyz(1.3731, 0.9462, 2.7991)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22112F #1E2F11
analogous
#13112F #22112F #2F112D
triadic
#22112F #2F2211 #112F22
tetradic
#22112F #2F1311 #1E2F11 #112D2F
square
#22112F #2F1311 #1E2F11 #112D2F
split-complementary
#22112F #2D2F11 #112F13
monochromatic
#100816 #100816 #22112F #43215C #633289

Accessibility & contrast

On white

17.66
#22112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22112F
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22112F#FFFFFF#000000##FFFFFF
##22112F1.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081830
Deuteranopia (green-blind)
#0E192E
Tritanopia (blue-blind)
#20161D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #22112f;
/* rgb */ color: rgb(34, 17, 47);
/* oklch */ color: oklch(21.8% 0.060 308.4);
Tailwind
colors: {
  custom: {
    50: '#5e4f67',
    500: '#22112f',
    950: '#000000',
  },
}
SCSS
$custom: #22112f;
$custom-light: #5e4f67;
$custom-dark: #000000;
JSON
{
  "hex": "#22112f",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 274,
    "s": 46.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21821,
    "c": 0.05984,
    "h": 308.4
  },
  "luminance": 0.00946
}

Semantic roles & 50–950 ramp

primary
#22112F
secondary
#4A6734
accent
#D7518B
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #22112F

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

Preview Lab → · Contrast checker → · Palette generator →

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