#210322#210322

#210322 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.1% C 0.072 H 326.7°. Best body text is #FFFFFF at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#210322
RGBrgb(33, 3, 34)
HSLhsl(298, 84%, 7%)
HSVhsv(298, 91%, 13%)
CMYKcmyk(2.9%, 91.2%, 0%, 86.7%)
CIE-LABlab(4.55, 19.06, -13.14)
CIE-LCHlch(4.55, 23.15, 325.41°)
OKLaboklab(18.1% 0.0605 -0.0397)
OKLCHoklch(18.1% 0.072 326.7)
XYZxyz(0.9485, 0.5040, 1.5604)
Luminance0.0050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210322 #042203
analogous
#120322 #210322 #220314
triadic
#210322 #222103 #032221
tetradic
#210322 #221203 #042203 #031422
square
#210322 #221203 #042203 #031422
split-complementary
#210322 #142203 #032212
monochromatic
#1B021C #1B021C #210322 #58085A #8E0D92

Accessibility & contrast

On white

19.08
#210322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #210322
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210322#FFFFFF#000000##FFFFFF
##2103221.0019.081.1019.08
#FFFFFF19.081.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D23
Deuteranopia (green-blind)
#091121
Tritanopia (blue-blind)
#220711
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #210322;
/* rgb */ color: rgb(33, 3, 34);
/* oklch */ color: oklch(18.1% 0.072 326.7);
Tailwind
colors: {
  custom: {
    50: '#5d475d',
    500: '#210322',
    950: '#000000',
  },
}
SCSS
$custom: #210322;
$custom-light: #5d475d;
$custom-dark: #000000;
JSON
{
  "hex": "#210322",
  "rgb": {
    "r": 33,
    "g": 3,
    "b": 34
  },
  "hsl": {
    "h": 298.065,
    "s": 83.784,
    "l": 7.255
  },
  "oklch": {
    "l": 0.18102,
    "c": 0.07239,
    "h": 326.7
  },
  "luminance": 0.00504
}

Semantic roles & 50–950 ramp

primary
#210322
secondary
#1D661B
accent
#FA2E34
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040004
muted
#797779

Preview Lab

Preview with #210322

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

Preview Lab → · Contrast checker → · Palette generator →

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