#321F2F#321F2F

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

Color values

HEX#321F2F
RGBrgb(50, 31, 47)
HSLhsl(309, 23%, 16%)
HSVhsv(309, 38%, 20%)
CMYKcmyk(0%, 38%, 6%, 80.4%)
CIE-LABlab(14.75, 12.45, -6.88)
CIE-LCHlch(14.75, 14.23, 331.06°)
OKLaboklab(27% 0.0353 -0.0185)
OKLCHoklch(27% 0.04 332.3)
XYZxyz(2.3184, 1.8634, 2.9263)
Luminance0.0186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321F2F #1F3222
analogous
#2B1F32 #321F2F #321F25
triadic
#321F2F #2F321F #1F2F32
tetradic
#321F2F #322B1F #1F3222 #1F2532
square
#321F2F #322B1F #1F3222 #1F2532
split-complementary
#321F2F #25321F #1F322B
monochromatic
#130C12 #130C12 #321F2F #583653 #7E4E76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##321F2F#FFFFFF#000000##FFFFFF
##321F2F1.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)
#1F2430
Deuteranopia (green-blind)
#23262E
Tritanopia (blue-blind)
#342025
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #321f2f;
/* rgb */ color: rgb(50, 31, 47);
/* oklch */ color: oklch(27.0% 0.040 332.3);
Tailwind
colors: {
  custom: {
    50: '#6a5b67',
    500: '#321f2f',
    950: '#000000',
  },
}
SCSS
$custom: #321f2f;
$custom-light: #6a5b67;
$custom-dark: #000000;
JSON
{
  "hex": "#321f2f",
  "rgb": {
    "r": 50,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 309.474,
    "s": 23.457,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27003,
    "c": 0.03985,
    "h": 332.3
  },
  "luminance": 0.01863
}

Semantic roles & 50–950 ramp

primary
#321F2F
secondary
#48654D
accent
#C07668
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #321F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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