#321A2F#321A2F

#321A2F is a dark, muted purple. Relative luminance 0.016; OKLCH L 26.0% C 0.051 H 331.6°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#321A2F
RGBrgb(50, 26, 47)
HSLhsl(308, 32%, 15%)
HSVhsv(308, 48%, 20%)
CMYKcmyk(0%, 48%, 6%, 80.4%)
CIE-LABlab(13.36, 15.88, -9.00)
CIE-LCHlch(13.36, 18.25, 330.44°)
OKLaboklab(25.95% 0.045 -0.0244)
OKLCHoklch(25.95% 0.051 331.6)
XYZxyz(2.1979, 1.6222, 2.8861)
Luminance0.0162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321A2F #1A321D
analogous
#291A32 #321A2F #321A23
triadic
#321A2F #2F321A #1A2F32
tetradic
#321A2F #32291A #1A321D #1A2332
square
#321A2F #32291A #1A321D #1A2332
split-complementary
#321A2F #23321A #1A3229
monochromatic
#140A13 #140A13 #321A2F #5A2F55 #83447B

Accessibility & contrast

On white

15.86
#321A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#321A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321A2F
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321A2F#FFFFFF#000000##FFFFFF
##321A2F1.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192030
Deuteranopia (green-blind)
#20242E
Tritanopia (blue-blind)
#341C22
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #321a2f;
/* rgb */ color: rgb(50, 26, 47);
/* oklch */ color: oklch(26.0% 0.051 331.6);
Tailwind
colors: {
  custom: {
    50: '#6a5767',
    500: '#321a2f',
    950: '#000000',
  },
}
SCSS
$custom: #321a2f;
$custom-light: #6a5767;
$custom-dark: #000000;
JSON
{
  "hex": "#321a2f",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 47
  },
  "hsl": {
    "h": 307.5,
    "s": 31.579,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25953,
    "c": 0.0512,
    "h": 331.6
  },
  "luminance": 0.01622
}

Semantic roles & 50–950 ramp

primary
#321A2F
secondary
#416646
accent
#C86D60
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #321A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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