#22142C#22142C

#22142C is a very dark, muted violet. Relative luminance 0.010; OKLCH L 22.2% C 0.049 H 309.8°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#22142C
RGBrgb(34, 20, 44)
HSLhsl(275, 38%, 13%)
HSVhsv(275, 55%, 17%)
CMYKcmyk(22.7%, 54.5%, 0%, 82.7%)
CIE-LABlab(9.18, 13.00, -13.50)
CIE-LCHlch(9.18, 18.74, 313.93°)
OKLaboklab(22.23% 0.0313 -0.0375)
OKLCHoklch(22.23% 0.049 309.8)
XYZxyz(1.3644, 1.0223, 2.5078)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22142C #1E2C14
analogous
#16142C #22142C #2C142A
triadic
#22142C #2C2214 #142C22
tetradic
#22142C #2C1614 #1E2C14 #142A2C
square
#22142C #2C1614 #1E2C14 #142A2C
split-complementary
#22142C #2A2C14 #142C16
monochromatic
#100A15 #100A15 #22142C #432756 #633A80

Accessibility & contrast

On white

17.44
#22142C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#22142C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22142C
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22142C#FFFFFF#000000##FFFFFF
##22142C1.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F192D
Deuteranopia (green-blind)
#121A2B
Tritanopia (blue-blind)
#21181D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #22142c;
/* rgb */ color: rgb(34, 20, 44);
/* oklch */ color: oklch(22.2% 0.049 309.8);
Tailwind
colors: {
  custom: {
    50: '#5d5165',
    500: '#22142c',
    950: '#000000',
  },
}
SCSS
$custom: #22142c;
$custom-light: #5d5165;
$custom-dark: #000000;
JSON
{
  "hex": "#22142c",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 44
  },
  "hsl": {
    "h": 275,
    "s": 37.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22233,
    "c": 0.04887,
    "h": 309.8
  },
  "luminance": 0.01022
}

Semantic roles & 50–950 ramp

primary
#22142C
secondary
#4A6239
accent
#CD5A8A
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040205
muted
#79787A

Preview Lab

Preview with #22142C

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

Preview Lab → · Contrast checker → · Palette generator →

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