#220427#220427

#220427 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 18.9% C 0.076 H 321.8°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#220427
RGBrgb(34, 4, 39)
HSLhsl(291, 81%, 8%)
HSVhsv(291, 90%, 15%)
CMYKcmyk(12.8%, 89.7%, 0%, 84.7%)
CIE-LABlab(5.18, 20.74, -16.02)
CIE-LCHlch(5.18, 26.21, 322.32°)
OKLaboklab(18.89% 0.0595 -0.0468)
OKLCHoklch(18.89% 0.076 321.8)
XYZxyz(1.0693, 0.5735, 1.9734)
Luminance0.0057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220427 #092704
analogous
#100427 #220427 #27041A
triadic
#220427 #272204 #042722
tetradic
#220427 #271004 #092704 #041A27
square
#220427 #271004 #092704 #041A27
split-complementary
#220427 #1A2704 #042710
monochromatic
#18031C #18031C #220427 #520A5F #830F96

Accessibility & contrast

On white

18.84
#220427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#220427 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220427
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220427#FFFFFF#000000##FFFFFF
##2204271.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F28
Deuteranopia (green-blind)
#081226
Tritanopia (blue-blind)
#220914
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #220427;
/* rgb */ color: rgb(34, 4, 39);
/* oklch */ color: oklch(18.9% 0.076 321.8);
Tailwind
colors: {
  custom: {
    50: '#5e4861',
    500: '#220427',
    950: '#000000',
  },
}
SCSS
$custom: #220427;
$custom-light: #5e4861;
$custom-dark: #000000;
JSON
{
  "hex": "#220427",
  "rgb": {
    "r": 34,
    "g": 4,
    "b": 39
  },
  "hsl": {
    "h": 291.429,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18891,
    "c": 0.0757,
    "h": 321.8
  },
  "luminance": 0.00573
}

Semantic roles & 50–950 ramp

primary
#220427
secondary
#286A1D
accent
#F8304D
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040005
muted
#797779

Preview Lab

Preview with #220427

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

Preview Lab → · Contrast checker → · Palette generator →

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