#22052D#22052D

#22052D is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.6% C 0.080 H 315.1°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#22052D
RGBrgb(34, 5, 45)
HSLhsl(284, 80%, 10%)
HSVhsv(284, 89%, 18%)
CMYKcmyk(24.4%, 88.9%, 0%, 82.4%)
CIE-LABlab(5.76, 22.21, -19.64)
CIE-LCHlch(5.76, 29.65, 318.51°)
OKLaboklab(19.58% 0.0568 -0.0566)
OKLCHoklch(19.58% 0.08 315.1)
XYZxyz(1.1875, 0.6381, 2.5427)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22052D #102D05
analogous
#0E052D #22052D #2D0524
triadic
#22052D #2D2205 #052D22
tetradic
#22052D #2D0E05 #102D05 #05242D
square
#22052D #2D0E05 #102D05 #05242D
split-complementary
#22052D #242D05 #052D0E
monochromatic
#15031C #15031C #22052D #4C0B64 #75119B

Accessibility & contrast

On white

18.62
#22052D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#22052D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22052D
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22052D#FFFFFF#000000##FFFFFF
##22052D1.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112E
Deuteranopia (green-blind)
#04132C
Tritanopia (blue-blind)
#210D18
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #22052d;
/* rgb */ color: rgb(34, 5, 45);
/* oklch */ color: oklch(19.6% 0.080 315.1);
Tailwind
colors: {
  custom: {
    50: '#5f4866',
    500: '#22052d',
    950: '#000000',
  },
}
SCSS
$custom: #22052d;
$custom-light: #5f4866;
$custom-dark: #000000;
JSON
{
  "hex": "#22052d",
  "rgb": {
    "r": 34,
    "g": 5,
    "b": 45
  },
  "hsl": {
    "h": 283.5,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19584,
    "c": 0.08016,
    "h": 315.1
  },
  "luminance": 0.00638
}

Semantic roles & 50–950 ramp

primary
#22052D
secondary
#356F1F
accent
#F63168
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #22052D

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

Preview Lab → · Contrast checker → · Palette generator →

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