#220023#220023

#220023 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 17.8% C 0.082 H 327.2°. Best body text is #FFFFFF at 19.23:1 contrast (WCAG AA passes).

Color values

HEX#220023
RGBrgb(34, 0, 35)
HSLhsl(298, 100%, 7%)
HSVhsv(298, 100%, 14%)
CMYKcmyk(2.9%, 100%, 0%, 86.3%)
CIE-LABlab(4.17, 21.26, -14.50)
CIE-LCHlch(4.17, 25.73, 325.71°)
OKLaboklab(17.76% 0.069 -0.0445)
OKLCHoklch(17.76% 0.082 327.2)
XYZxyz(0.9630, 0.4615, 1.6281)
Luminance0.0046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220023 #012300
analogous
#110023 #220023 #230013
triadic
#220023 #232200 #002322
tetradic
#220023 #231100 #012300 #001323
square
#220023 #231100 #012300 #001323
split-complementary
#220023 #132300 #002311
monochromatic
#1E001F #1E001F #220023 #5D0060 #99009D

Accessibility & contrast

On white

19.23
#220023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#220023 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220023
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220023#FFFFFF#000000##FFFFFF
##2200231.0019.231.0919.23
#FFFFFF19.231.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B24
Deuteranopia (green-blind)
#071022
Tritanopia (blue-blind)
#230410
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #220023;
/* rgb */ color: rgb(34, 0, 35);
/* oklch */ color: oklch(17.8% 0.082 327.2);
Tailwind
colors: {
  custom: {
    50: '#5e465e',
    500: '#220023',
    950: '#000000',
  },
}
SCSS
$custom: #220023;
$custom-light: #5e465e;
$custom-dark: #000000;
JSON
{
  "hex": "#220023",
  "rgb": {
    "r": 34,
    "g": 0,
    "b": 35
  },
  "hsl": {
    "h": 298.286,
    "s": 100,
    "l": 6.863
  },
  "oklch": {
    "l": 0.17763,
    "c": 0.08213,
    "h": 327.2
  },
  "luminance": 0.00461
}

Semantic roles & 50–950 ramp

primary
#220023
secondary
#166C13
accent
#FF292F
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040004
muted
#797779

Preview Lab

Preview with #220023

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

Preview Lab → · Contrast checker → · Palette generator →

#220023 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva