#220128#220128

#220128 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.4% C 0.084 H 321.4°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#220128
RGBrgb(34, 1, 40)
HSLhsl(291, 95%, 8%)
HSVhsv(291, 98%, 16%)
CMYKcmyk(15%, 97.5%, 0%, 84.3%)
CIE-LABlab(4.65, 22.46, -17.61)
CIE-LCHlch(4.65, 28.54, 321.91°)
OKLaboklab(18.4% 0.0657 -0.0524)
OKLCHoklch(18.4% 0.084 321.4)
XYZxyz(1.0535, 0.5151, 2.0510)
Luminance0.0052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220128 #072801
analogous
#0E0128 #220128 #28011A
triadic
#220128 #282201 #012822
tetradic
#220128 #280E01 #072801 #011A28
square
#220128 #280E01 #072801 #011A28
split-complementary
#220128 #1A2801 #01280E
monochromatic
#19011E #19011E #220128 #550264 #88049F

Accessibility & contrast

On white

19.04
#220128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220128
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220128#FFFFFF#000000##FFFFFF
##2201281.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D29
Deuteranopia (green-blind)
#041127
Tritanopia (blue-blind)
#220713
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #220128;
/* rgb */ color: rgb(34, 1, 40);
/* oklch */ color: oklch(18.4% 0.084 321.4);
Tailwind
colors: {
  custom: {
    50: '#5e4662',
    500: '#220128',
    950: '#000000',
  },
}
SCSS
$custom: #220128;
$custom-light: #5e4662;
$custom-dark: #000000;
JSON
{
  "hex": "#220128",
  "rgb": {
    "r": 34,
    "g": 1,
    "b": 40
  },
  "hsl": {
    "h": 290.769,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18402,
    "c": 0.08404,
    "h": 321.4
  },
  "luminance": 0.00515
}

Semantic roles & 50–950 ramp

primary
#220128
secondary
#246F16
accent
#FF294A
background
#F5F3F5
surface
#E9E5EA
border
#C5C1C6
text
#040005
muted
#797779

Preview Lab

Preview with #220128

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

Preview Lab → · Contrast checker → · Palette generator →

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