#321D31#321D31

#321D31 is a dark, muted purple. Relative luminance 0.018; OKLCH L 26.7% C 0.047 H 328.5°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#321D31
RGBrgb(50, 29, 49)
HSLhsl(303, 27%, 15%)
HSVhsv(303, 42%, 20%)
CMYKcmyk(0%, 42%, 2%, 80.4%)
CIE-LABlab(14.28, 14.29, -9.04)
CIE-LCHlch(14.28, 16.91, 327.69°)
OKLaboklab(26.67% 0.0399 -0.0245)
OKLCHoklch(26.67% 0.047 328.5)
XYZxyz(2.3091, 1.7787, 3.1268)
Luminance0.0178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321D31 #1D321E
analogous
#281D32 #321D31 #321D26
triadic
#321D31 #31321D #1D3132
tetradic
#321D31 #32281D #1D321E #1D2632
square
#321D31 #32281D #1D321E #1D2632
split-complementary
#321D31 #26321D #1D3228
monochromatic
#130B13 #130B13 #321D31 #593357 #7F4A7D

Accessibility & contrast

On white

15.49
#321D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321D31
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321D31#FFFFFF#000000##FFFFFF
##321D311.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2232
Deuteranopia (green-blind)
#212530
Tritanopia (blue-blind)
#331F24
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #321d31;
/* rgb */ color: rgb(50, 29, 49);
/* oklch */ color: oklch(26.7% 0.047 328.5);
Tailwind
colors: {
  custom: {
    50: '#6a5969',
    500: '#321d31',
    950: '#000000',
  },
}
SCSS
$custom: #321d31;
$custom-light: #6a5969;
$custom-dark: #000000;
JSON
{
  "hex": "#321d31",
  "rgb": {
    "r": 50,
    "g": 29,
    "b": 49
  },
  "hsl": {
    "h": 302.857,
    "s": 26.582,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26675,
    "c": 0.04683,
    "h": 328.5
  },
  "luminance": 0.01779
}

Semantic roles & 50–950 ramp

primary
#321D31
secondary
#466547
accent
#C36965
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #321D31

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

Preview Lab → · Contrast checker → · Palette generator →

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