#22152D#22152D

#22152D is a very dark, muted violet. Relative luminance 0.011; OKLCH L 22.5% C 0.048 H 307.9°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#22152D
RGBrgb(34, 21, 45)
HSLhsl(273, 36%, 13%)
HSVhsv(273, 53%, 18%)
CMYKcmyk(24.4%, 53.3%, 0%, 82.4%)
CIE-LABlab(9.53, 12.57, -13.68)
CIE-LCHlch(9.53, 18.58, 312.57°)
OKLaboklab(22.52% 0.0297 -0.0381)
OKLCHoklch(22.52% 0.048 307.9)
XYZxyz(1.4014, 1.0659, 2.6140)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22152D #202D15
analogous
#16152D #22152D #2D152C
triadic
#22152D #2D2215 #152D22
tetradic
#22152D #2D1615 #202D15 #152C2D
square
#22152D #2D1615 #202D15 #152C2D
split-complementary
#22152D #2C2D15 #152D16
monochromatic
#100A15 #100A15 #22152D #422857 #613C80

Accessibility & contrast

On white

17.31
#22152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#22152D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22152D
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22152D#FFFFFF#000000##FFFFFF
##22152D1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1A2E
Deuteranopia (green-blind)
#131B2C
Tritanopia (blue-blind)
#20191E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #22152d;
/* rgb */ color: rgb(34, 21, 45);
/* oklch */ color: oklch(22.5% 0.048 307.9);
Tailwind
colors: {
  custom: {
    50: '#5d5266',
    500: '#22152d',
    950: '#000000',
  },
}
SCSS
$custom: #22152d;
$custom-light: #5d5266;
$custom-dark: #000000;
JSON
{
  "hex": "#22152d",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 272.5,
    "s": 36.364,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22518,
    "c": 0.04826,
    "h": 307.9
  },
  "luminance": 0.01066
}

Semantic roles & 50–950 ramp

primary
#22152D
secondary
#4D633B
accent
#CC5B8F
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040205
muted
#79787A

Preview Lab

Preview with #22152D

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

Preview Lab → · Contrast checker → · Palette generator →

#22152D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva