#220127#220127

#220127 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.3% C 0.083 H 322.5°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#220127
RGBrgb(34, 1, 39)
HSLhsl(292, 95%, 8%)
HSVhsv(292, 97%, 15%)
CMYKcmyk(12.8%, 97.4%, 0%, 84.7%)
CIE-LABlab(4.59, 22.13, -16.94)
CIE-LCHlch(4.59, 27.87, 322.57°)
OKLaboklab(18.31% 0.0659 -0.0506)
OKLCHoklch(18.31% 0.083 322.5)
XYZxyz(1.0367, 0.5083, 1.9626)
Luminance0.0051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220127 #062701
analogous
#0F0127 #220127 #270119
triadic
#220127 #272201 #012722
tetradic
#220127 #270F01 #062701 #011927
square
#220127 #270F01 #062701 #011927
split-complementary
#220127 #192701 #01270F
monochromatic
#1A011E #1A011E #220127 #560363 #8A049E

Accessibility & contrast

On white

19.06
#220127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220127
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220127#FFFFFF#000000##FFFFFF
##2201271.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D28
Deuteranopia (green-blind)
#051126
Tritanopia (blue-blind)
#230713
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #220127;
/* rgb */ color: rgb(34, 1, 39);
/* oklch */ color: oklch(18.3% 0.083 322.5);
Tailwind
colors: {
  custom: {
    50: '#5e4661',
    500: '#220127',
    950: '#000000',
  },
}
SCSS
$custom: #220127;
$custom-light: #5e4661;
$custom-dark: #000000;
JSON
{
  "hex": "#220127",
  "rgb": {
    "r": 34,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 292.105,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18314,
    "c": 0.08308,
    "h": 322.5
  },
  "luminance": 0.00508
}

Semantic roles & 50–950 ramp

primary
#220127
secondary
#226E16
accent
#FF2945
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040005
muted
#797779

Preview Lab

Preview with #220127

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

Preview Lab → · Contrast checker → · Palette generator →

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