#321F36#321F36

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

Color values

HEX#321F36
RGBrgb(50, 31, 54)
HSLhsl(290, 27%, 17%)
HSVhsv(290, 43%, 21%)
CMYKcmyk(7.4%, 42.6%, 0%, 78.8%)
CIE-LABlab(15.09, 14.13, -11.36)
CIE-LCHlch(15.09, 18.13, 321.20°)
OKLaboklab(27.37% 0.0377 -0.0311)
OKLCHoklch(27.37% 0.049 320.5)
XYZxyz(2.4712, 1.9245, 3.7306)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321F36 #23361F
analogous
#271F36 #321F36 #361F2F
triadic
#321F36 #36321F #1F3632
tetradic
#321F36 #36271F #23361F #1F2F36
square
#321F36 #36271F #23361F #1F2F36
split-complementary
#321F36 #2F361F #1F3627
monochromatic
#120B13 #120B13 #321F36 #56355D #7A4C84

Accessibility & contrast

On white

15.16
#321F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#321F36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321F36
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321F36#FFFFFF#000000##FFFFFF
##321F361.0015.161.3815.16
#FFFFFF15.161.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321f36;
/* rgb */ color: rgb(50, 31, 54);
/* oklch */ color: oklch(27.4% 0.049 320.5);
Tailwind
colors: {
  custom: {
    50: '#6a5b6d',
    500: '#321f36',
    950: '#000000',
  },
}
SCSS
$custom: #321f36;
$custom-light: #6a5b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#321f36",
  "rgb": {
    "r": 50,
    "g": 31,
    "b": 54
  },
  "hsl": {
    "h": 289.565,
    "s": 27.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27365,
    "c": 0.04884,
    "h": 320.5
  },
  "luminance": 0.01924
}

Semantic roles & 50–950 ramp

primary
#321F36
secondary
#4D6948
accent
#C36475
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060407
muted
#7A797A

Preview Lab

Preview with #321F36

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

Preview Lab → · Contrast checker → · Palette generator →

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