#321F37#321F37

#321F37 is a dark, muted purple. Relative luminance 0.019; OKLCH L 27.4% C 0.050 H 319.1°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#321F37
RGBrgb(50, 31, 55)
HSLhsl(288, 28%, 17%)
HSVhsv(288, 44%, 22%)
CMYKcmyk(9.1%, 43.6%, 0%, 78.4%)
CIE-LABlab(15.14, 14.39, -11.99)
CIE-LCHlch(15.14, 18.73, 320.19°)
OKLaboklab(27.42% 0.038 -0.0329)
OKLCHoklch(27.42% 0.05 319.1)
XYZxyz(2.4949, 1.9340, 3.8556)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321F37 #24371F
analogous
#261F37 #321F37 #371F30
triadic
#321F37 #37321F #1F3732
tetradic
#321F37 #37261F #24371F #1F3037
square
#321F37 #37261F #24371F #1F3037
split-complementary
#321F37 #30371F #1F3726
monochromatic
#120B14 #120B14 #321F37 #56355E #794B85

Accessibility & contrast

On white

15.14
#321F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321F37
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321F37#FFFFFF#000000##FFFFFF
##321F371.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2538
Deuteranopia (green-blind)
#202736
Tritanopia (blue-blind)
#322228
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #321f37;
/* rgb */ color: rgb(50, 31, 55);
/* oklch */ color: oklch(27.4% 0.050 319.1);
Tailwind
colors: {
  custom: {
    50: '#6a5b6e',
    500: '#321f37',
    950: '#000000',
  },
}
SCSS
$custom: #321f37;
$custom-light: #6a5b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#321f37",
  "rgb": {
    "r": 50,
    "g": 31,
    "b": 55
  },
  "hsl": {
    "h": 287.5,
    "s": 27.907,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2742,
    "c": 0.05023,
    "h": 319.1
  },
  "luminance": 0.01934
}

Semantic roles & 50–950 ramp

primary
#321F37
secondary
#4F6A48
accent
#C46478
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060407
muted
#7A797A

Preview Lab

Preview with #321F37

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

Preview Lab → · Contrast checker → · Palette generator →

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