#220431#220431

#220431 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.8% C 0.087 H 311.6°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#220431
RGBrgb(34, 4, 49)
HSLhsl(280, 85%, 10%)
HSVhsv(280, 92%, 19%)
CMYKcmyk(30.6%, 91.8%, 0%, 80.8%)
CIE-LABlab(5.86, 24.03, -22.48)
CIE-LCHlch(5.86, 32.90, 316.92°)
OKLaboklab(19.78% 0.0576 -0.0648)
OKLCHoklch(19.78% 0.087 311.6)
XYZxyz(1.2574, 0.6487, 2.9641)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220431 #133104
analogous
#0B0431 #220431 #310429
triadic
#220431 #312204 #043122
tetradic
#220431 #310B04 #133104 #042931
square
#220431 #310B04 #133104 #042931
split-complementary
#220431 #293104 #04310B
monochromatic
#14021C #14021C #220431 #49096A #710DA2

Accessibility & contrast

On white

18.59
#220431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#220431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220431
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220431#FFFFFF#000000##FFFFFF
##2204311.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001232
Deuteranopia (green-blind)
#001430
Tritanopia (blue-blind)
#200E1A
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #220431;
/* rgb */ color: rgb(34, 4, 49);
/* oklch */ color: oklch(19.8% 0.087 311.6);
Tailwind
colors: {
  custom: {
    50: '#5f4869',
    500: '#220431',
    950: '#000000',
  },
}
SCSS
$custom: #220431;
$custom-light: #5f4869;
$custom-dark: #000000;
JSON
{
  "hex": "#220431",
  "rgb": {
    "r": 34,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 280,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19781,
    "c": 0.08669,
    "h": 311.6
  },
  "luminance": 0.00649
}

Semantic roles & 50–950 ramp

primary
#220431
secondary
#3A731D
accent
#FB2D71
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #220431

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

Preview Lab → · Contrast checker → · Palette generator →

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