#321D3A#321D3A

#321D3A is a dark, muted purple. Relative luminance 0.019; OKLCH L 27.2% C 0.059 H 316.2°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#321D3A
RGBrgb(50, 29, 58)
HSLhsl(283, 33%, 17%)
HSVhsv(283, 50%, 23%)
CMYKcmyk(13.8%, 50%, 0%, 77.3%)
CIE-LABlab(14.75, 16.53, -14.72)
CIE-LCHlch(14.75, 22.13, 318.31°)
OKLaboklab(27.18% 0.0424 -0.0407)
OKLCHoklch(27.18% 0.059 316.2)
XYZxyz(2.5184, 1.8624, 4.2290)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321D3A #253A1D
analogous
#241D3A #321D3A #3A1D34
triadic
#321D3A #3A321D #1D3A32
tetradic
#321D3A #3A241D #253A1D #1D343A
square
#321D3A #3A241D #253A1D #1D343A
split-complementary
#321D3A #343A1D #1D3A24
monochromatic
#120A14 #120A14 #321D3A #553163 #78468C

Accessibility & contrast

On white

15.30
#321D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#321D3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321D3A
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321D3A#FFFFFF#000000##FFFFFF
##321D3A1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18243B
Deuteranopia (green-blind)
#1E2639
Tritanopia (blue-blind)
#322128
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #321d3a;
/* rgb */ color: rgb(50, 29, 58);
/* oklch */ color: oklch(27.2% 0.059 316.2);
Tailwind
colors: {
  custom: {
    50: '#6a5970',
    500: '#321d3a',
    950: '#000000',
  },
}
SCSS
$custom: #321d3a;
$custom-light: #6a5970;
$custom-dark: #000000;
JSON
{
  "hex": "#321d3a",
  "rgb": {
    "r": 50,
    "g": 29,
    "b": 58
  },
  "hsl": {
    "h": 283.448,
    "s": 33.333,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27181,
    "c": 0.05877,
    "h": 316.2
  },
  "luminance": 0.01862
}

Semantic roles & 50–950 ramp

primary
#321D3A
secondary
#506E45
accent
#C95E7C
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060307
muted
#7A787A

Preview Lab

Preview with #321D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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