#220123#220123

#220123 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.0% C 0.079 H 327.1°. Best body text is #FFFFFF at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#220123
RGBrgb(34, 1, 35)
HSLhsl(298, 94%, 7%)
HSVhsv(298, 97%, 14%)
CMYKcmyk(2.9%, 97.1%, 0%, 86.3%)
CIE-LABlab(4.36, 20.82, -14.20)
CIE-LCHlch(4.36, 25.20, 325.71°)
OKLaboklab(17.97% 0.0666 -0.0431)
OKLCHoklch(17.97% 0.079 327.1)
XYZxyz(0.9739, 0.4832, 1.6318)
Luminance0.0048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220123 #022301
analogous
#110123 #220123 #230113
triadic
#220123 #232201 #012322
tetradic
#220123 #231101 #022301 #011323
square
#220123 #231101 #022301 #011323
split-complementary
#220123 #132301 #012311
monochromatic
#1D011E #1D011E #220123 #5C035F #96049A

Accessibility & contrast

On white

19.15
#220123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#220123 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220123
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220123#FFFFFF#000000##FFFFFF
##2201231.0019.151.1019.15
#FFFFFF19.151.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C24
Deuteranopia (green-blind)
#081122
Tritanopia (blue-blind)
#230511
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #220123;
/* rgb */ color: rgb(34, 1, 35);
/* oklch */ color: oklch(18.0% 0.079 327.1);
Tailwind
colors: {
  custom: {
    50: '#5e465e',
    500: '#220123',
    950: '#000000',
  },
}
SCSS
$custom: #220123;
$custom-light: #5e465e;
$custom-dark: #000000;
JSON
{
  "hex": "#220123",
  "rgb": {
    "r": 34,
    "g": 1,
    "b": 35
  },
  "hsl": {
    "h": 298.235,
    "s": 94.444,
    "l": 7.059
  },
  "oklch": {
    "l": 0.17973,
    "c": 0.07932,
    "h": 327.1
  },
  "luminance": 0.00483
}

Semantic roles & 50–950 ramp

primary
#220123
secondary
#186A16
accent
#FF292F
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040004
muted
#797779

Preview Lab

Preview with #220123

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

Preview Lab → · Contrast checker → · Palette generator →

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