#321D33#321D33

#321D33 is a dark, muted purple. Relative luminance 0.018; OKLCH L 26.8% C 0.049 H 325.3°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#321D33
RGBrgb(50, 29, 51)
HSLhsl(297, 28%, 16%)
HSVhsv(297, 43%, 20%)
CMYKcmyk(2%, 43.1%, 0%, 80%)
CIE-LABlab(14.38, 14.77, -10.32)
CIE-LCHlch(14.38, 18.02, 325.06°)
OKLaboklab(26.78% 0.0406 -0.0281)
OKLCHoklch(26.78% 0.049 325.3)
XYZxyz(2.3522, 1.7959, 3.3541)
Luminance0.0180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321D33 #1E331D
analogous
#271D33 #321D33 #331D29
triadic
#321D33 #33321D #1D3332
tetradic
#321D33 #33271D #1E331D #1D2933
square
#321D33 #33271D #1E331D #1D2933
split-complementary
#321D33 #29331D #1D3327
monochromatic
#130B14 #130B14 #321D33 #58335A #7E4981

Accessibility & contrast

On white

15.45
#321D33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#321D33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321D33
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321D33#FFFFFF#000000##FFFFFF
##321D331.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2334
Deuteranopia (green-blind)
#202532
Tritanopia (blue-blind)
#331F25
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #321d33;
/* rgb */ color: rgb(50, 29, 51);
/* oklch */ color: oklch(26.8% 0.049 325.3);
Tailwind
colors: {
  custom: {
    50: '#6a596a',
    500: '#321d33',
    950: '#000000',
  },
}
SCSS
$custom: #321d33;
$custom-light: #6a596a;
$custom-dark: #000000;
JSON
{
  "hex": "#321d33",
  "rgb": {
    "r": 50,
    "g": 29,
    "b": 51
  },
  "hsl": {
    "h": 297.273,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26781,
    "c": 0.04935,
    "h": 325.3
  },
  "luminance": 0.01796
}

Semantic roles & 50–950 ramp

primary
#321D33
secondary
#476645
accent
#C46468
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #321D33

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

Preview Lab → · Contrast checker → · Palette generator →

#321D33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva