#321A39#321A39

#321A39 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.5% C 0.064 H 318.3°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#321A39
RGBrgb(50, 26, 57)
HSLhsl(286, 37%, 16%)
HSVhsv(286, 54%, 22%)
CMYKcmyk(12.3%, 54.4%, 0%, 77.6%)
CIE-LABlab(13.90, 18.28, -15.34)
CIE-LCHlch(13.90, 23.86, 320.01°)
OKLaboklab(26.53% 0.0476 -0.0424)
OKLCHoklch(26.53% 0.064 318.3)
XYZxyz(2.4232, 1.7124, 4.0730)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321A39 #21391A
analogous
#231A39 #321A39 #391A31
triadic
#321A39 #39321A #1A3932
tetradic
#321A39 #39231A #21391A #1A3139
square
#321A39 #39231A #21391A #1A3139
split-complementary
#321A39 #31391A #1A3923
monochromatic
#120A15 #120A15 #321A39 #572D63 #7C408D

Accessibility & contrast

On white

15.64
#321A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#321A39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321A39
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321A39#FFFFFF#000000##FFFFFF
##321A391.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15223A
Deuteranopia (green-blind)
#1B2438
Tritanopia (blue-blind)
#321E26
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321a39;
/* rgb */ color: rgb(50, 26, 57);
/* oklch */ color: oklch(26.5% 0.064 318.3);
Tailwind
colors: {
  custom: {
    50: '#6b576f',
    500: '#321a39',
    950: '#000000',
  },
}
SCSS
$custom: #321a39;
$custom-light: #6b576f;
$custom-dark: #000000;
JSON
{
  "hex": "#321a39",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 57
  },
  "hsl": {
    "h": 286.452,
    "s": 37.349,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26528,
    "c": 0.06376,
    "h": 318.3
  },
  "luminance": 0.01712
}

Semantic roles & 50–950 ramp

primary
#321A39
secondary
#4B6E41
accent
#CD5A74
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060307
muted
#7A787A

Preview Lab

Preview with #321A39

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

Preview Lab → · Contrast checker → · Palette generator →

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