#321C2F#321C2F

#321C2F is a dark, muted purple. Relative luminance 0.017; OKLCH L 26.4% C 0.047 H 331.8°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#321C2F
RGBrgb(50, 28, 47)
HSLhsl(308, 28%, 15%)
HSVhsv(308, 44%, 20%)
CMYKcmyk(0%, 44%, 6%, 80.4%)
CIE-LABlab(13.91, 14.52, -8.17)
CIE-LCHlch(13.91, 16.66, 330.63°)
OKLaboklab(26.36% 0.0412 -0.0221)
OKLCHoklch(26.36% 0.047 331.8)
XYZxyz(2.2437, 1.7140, 2.9014)
Luminance0.0171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321C2F #1C321F
analogous
#2A1C32 #321C2F #321C24
triadic
#321C2F #2F321C #1C2F32
tetradic
#321C2F #322A1C #1C321F #1C2432
square
#321C2F #322A1C #1C321F #1C2432
split-complementary
#321C2F #24321C #1C322A
monochromatic
#140B12 #140B12 #321C2F #593254 #804879

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##321C2F#FFFFFF#000000##FFFFFF
##321C2F1.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)
#1B2230
Deuteranopia (green-blind)
#21252E
Tritanopia (blue-blind)
#341D23
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321c2f;
/* rgb */ color: rgb(50, 28, 47);
/* oklch */ color: oklch(26.4% 0.047 331.8);
Tailwind
colors: {
  custom: {
    50: '#6a5867',
    500: '#321c2f',
    950: '#000000',
  },
}
SCSS
$custom: #321c2f;
$custom-light: #6a5867;
$custom-dark: #000000;
JSON
{
  "hex": "#321c2f",
  "rgb": {
    "r": 50,
    "g": 28,
    "b": 47
  },
  "hsl": {
    "h": 308.182,
    "s": 28.205,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26363,
    "c": 0.04671,
    "h": 331.8
  },
  "luminance": 0.01714
}

Semantic roles & 50–950 ramp

primary
#321C2F
secondary
#446649
accent
#C57163
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #321C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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