#321F39#321F39

#321F39 is a dark, muted purple. Relative luminance 0.020; OKLCH L 27.5% C 0.053 H 316.6°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#321F39
RGBrgb(50, 31, 57)
HSLhsl(284, 30%, 17%)
HSVhsv(284, 46%, 22%)
CMYKcmyk(12.3%, 45.6%, 0%, 77.6%)
CIE-LABlab(15.24, 14.90, -13.24)
CIE-LCHlch(15.24, 19.93, 318.37°)
OKLaboklab(27.53% 0.0385 -0.0365)
OKLCHoklch(27.53% 0.053 316.6)
XYZxyz(2.5438, 1.9536, 4.1132)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321F39 #26391F
analogous
#251F39 #321F39 #391F33
triadic
#321F39 #39321F #1F3932
tetradic
#321F39 #39251F #26391F #1F3339
square
#321F39 #39251F #26391F #1F3339
split-complementary
#321F39 #33391F #1F3925
monochromatic
#110B14 #110B14 #321F39 #553561 #784A88

Accessibility & contrast

On white

15.10
#321F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#321F39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321F39
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321F39#FFFFFF#000000##FFFFFF
##321F391.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B253A
Deuteranopia (green-blind)
#202738
Tritanopia (blue-blind)
#322229
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #321f39;
/* rgb */ color: rgb(50, 31, 57);
/* oklch */ color: oklch(27.5% 0.053 316.6);
Tailwind
colors: {
  custom: {
    50: '#6a5b6f',
    500: '#321f39',
    950: '#000000',
  },
}
SCSS
$custom: #321f39;
$custom-light: #6a5b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#321f39",
  "rgb": {
    "r": 50,
    "g": 31,
    "b": 57
  },
  "hsl": {
    "h": 283.846,
    "s": 29.545,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27534,
    "c": 0.05304,
    "h": 316.6
  },
  "luminance": 0.01953
}

Semantic roles & 50–950 ramp

primary
#321F39
secondary
#516C47
accent
#C6627D
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #321F39

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

Preview Lab → · Contrast checker → · Palette generator →

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