#321E2F#321E2F

#321E2F is a dark, muted purple. Relative luminance 0.018; OKLCH L 26.8% C 0.042 H 332.1°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#321E2F
RGBrgb(50, 30, 47)
HSLhsl(309, 25%, 16%)
HSVhsv(309, 40%, 20%)
CMYKcmyk(0%, 40%, 6%, 80.4%)
CIE-LABlab(14.47, 13.14, -7.32)
CIE-LCHlch(14.47, 15.04, 330.88°)
OKLaboklab(26.79% 0.0373 -0.0197)
OKLCHoklch(26.79% 0.042 332.1)
XYZxyz(2.2927, 1.8120, 2.9178)
Luminance0.0181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321E2F #1E3221
analogous
#2B1E32 #321E2F #321E25
triadic
#321E2F #2F321E #1E2F32
tetradic
#321E2F #322B1E #1E3221 #1E2532
square
#321E2F #322B1E #1E3221 #1E2532
split-complementary
#321E2F #25321E #1E322B
monochromatic
#130B12 #130B12 #321E2F #583553 #7E4C77

Accessibility & contrast

On white

15.41
#321E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#321E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321E2F
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321E2F#FFFFFF#000000##FFFFFF
##321E2F1.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2330
Deuteranopia (green-blind)
#23262E
Tritanopia (blue-blind)
#341F24
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #321e2f;
/* rgb */ color: rgb(50, 30, 47);
/* oklch */ color: oklch(26.8% 0.042 332.1);
Tailwind
colors: {
  custom: {
    50: '#6a5a67',
    500: '#321e2f',
    950: '#000000',
  },
}
SCSS
$custom: #321e2f;
$custom-light: #6a5a67;
$custom-dark: #000000;
JSON
{
  "hex": "#321e2f",
  "rgb": {
    "r": 50,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 309,
    "s": 25,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26786,
    "c": 0.04216,
    "h": 332.1
  },
  "luminance": 0.01812
}

Semantic roles & 50–950 ramp

primary
#321E2F
secondary
#47654B
accent
#C17466
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #321E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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