#321B2F#321B2F

#321B2F is a dark, muted purple. Relative luminance 0.017; OKLCH L 26.2% C 0.049 H 331.7°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#321B2F
RGBrgb(50, 27, 47)
HSLhsl(308, 30%, 15%)
HSVhsv(308, 46%, 20%)
CMYKcmyk(0%, 46%, 6%, 80.4%)
CIE-LABlab(13.63, 15.20, -8.59)
CIE-LCHlch(13.63, 17.46, 330.53°)
OKLaboklab(26.16% 0.0431 -0.0232)
OKLCHoklch(26.16% 0.049 331.7)
XYZxyz(2.2204, 1.6673, 2.8936)
Luminance0.0167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321B2F #1B321E
analogous
#291B32 #321B2F #321B23
triadic
#321B2F #2F321B #1B2F32
tetradic
#321B2F #32291B #1B321E #1B2332
square
#321B2F #32291B #1B321E #1B2332
split-complementary
#321B2F #23321B #1B3229
monochromatic
#140B13 #140B13 #321B2F #5A3054 #81467A

Accessibility & contrast

On white

15.75
#321B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#321B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321B2F
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321B2F#FFFFFF#000000##FFFFFF
##321B2F1.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2130
Deuteranopia (green-blind)
#20242E
Tritanopia (blue-blind)
#341C22
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321b2f;
/* rgb */ color: rgb(50, 27, 47);
/* oklch */ color: oklch(26.2% 0.049 331.7);
Tailwind
colors: {
  custom: {
    50: '#6a5867',
    500: '#321b2f',
    950: '#000000',
  },
}
SCSS
$custom: #321b2f;
$custom-light: #6a5867;
$custom-dark: #000000;
JSON
{
  "hex": "#321b2f",
  "rgb": {
    "r": 50,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 307.826,
    "s": 29.87,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26156,
    "c": 0.04897,
    "h": 331.7
  },
  "luminance": 0.01667
}

Semantic roles & 50–950 ramp

primary
#321B2F
secondary
#436647
accent
#C66F62
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #321B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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