#22142E#22142E

#22142E is a very dark, muted violet. Relative luminance 0.010; OKLCH L 22.4% C 0.052 H 307.5°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#22142E
RGBrgb(34, 20, 46)
HSLhsl(272, 39%, 13%)
HSVhsv(272, 57%, 18%)
CMYKcmyk(26.1%, 56.5%, 0%, 82%)
CIE-LABlab(9.30, 13.59, -14.77)
CIE-LCHlch(9.30, 20.07, 312.61°)
OKLaboklab(22.37% 0.0317 -0.0412)
OKLCHoklch(22.37% 0.052 307.5)
XYZxyz(1.4029, 1.0377, 2.7106)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22142E #202E14
analogous
#15142E #22142E #2E142D
triadic
#22142E #2E2214 #142E22
tetradic
#22142E #2E1514 #202E14 #142D2E
square
#22142E #2E1514 #202E14 #142D2E
split-complementary
#22142E #2D2E14 #142E15
monochromatic
#100915 #100915 #22142E #422759 #613983

Accessibility & contrast

On white

17.39
#22142E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#22142E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22142E
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22142E#FFFFFF#000000##FFFFFF
##22142E1.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1A2F
Deuteranopia (green-blind)
#111A2D
Tritanopia (blue-blind)
#20181E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #22142e;
/* rgb */ color: rgb(34, 20, 46);
/* oklch */ color: oklch(22.4% 0.052 307.5);
Tailwind
colors: {
  custom: {
    50: '#5e5167',
    500: '#22142e',
    950: '#000000',
  },
}
SCSS
$custom: #22142e;
$custom-light: #5e5167;
$custom-dark: #000000;
JSON
{
  "hex": "#22142e",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 46
  },
  "hsl": {
    "h": 272.308,
    "s": 39.394,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22369,
    "c": 0.05202,
    "h": 307.5
  },
  "luminance": 0.01038
}

Semantic roles & 50–950 ramp

primary
#22142E
secondary
#4D6539
accent
#CF598F
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #22142E

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

Preview Lab → · Contrast checker → · Palette generator →

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