#220331#220331

#220331 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.6% C 0.089 H 312.0°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#220331
RGBrgb(34, 3, 49)
HSLhsl(280, 88%, 10%)
HSVhsv(280, 94%, 19%)
CMYKcmyk(30.6%, 93.9%, 0%, 80.8%)
CIE-LABlab(5.66, 24.53, -22.79)
CIE-LCHlch(5.66, 33.48, 317.11°)
OKLaboklab(19.61% 0.0593 -0.0659)
OKLCHoklch(19.61% 0.089 312)
XYZxyz(1.2465, 0.6270, 2.9605)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220331 #123103
analogous
#0B0331 #220331 #310329
triadic
#220331 #312203 #033122
tetradic
#220331 #310B03 #123103 #032931
square
#220331 #310B03 #123103 #032931
split-complementary
#220331 #293103 #03310B
monochromatic
#14021D #14021D #220331 #4A076B #720AA4

Accessibility & contrast

On white

18.66
#220331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220331
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220331#FFFFFF#000000##FFFFFF
##2203311.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001132
Deuteranopia (green-blind)
#001330
Tritanopia (blue-blind)
#200D1A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #220331;
/* rgb */ color: rgb(34, 3, 49);
/* oklch */ color: oklch(19.6% 0.089 312.0);
Tailwind
colors: {
  custom: {
    50: '#5f4769',
    500: '#220331',
    950: '#000000',
  },
}
SCSS
$custom: #220331;
$custom-light: #5f4769;
$custom-dark: #000000;
JSON
{
  "hex": "#220331",
  "rgb": {
    "r": 34,
    "g": 3,
    "b": 49
  },
  "hsl": {
    "h": 280.435,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19611,
    "c": 0.08868,
    "h": 312
  },
  "luminance": 0.00627
}

Semantic roles & 50–950 ramp

primary
#220331
secondary
#38741B
accent
#FF296F
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #220331

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

Preview Lab → · Contrast checker → · Palette generator →

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