#321B31#321B31

#321B31 is a dark, muted purple. Relative luminance 0.017; OKLCH L 26.3% C 0.051 H 328.4°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#321B31
RGBrgb(50, 27, 49)
HSLhsl(303, 30%, 15%)
HSVhsv(303, 46%, 20%)
CMYKcmyk(0%, 46%, 2%, 80.4%)
CIE-LABlab(13.73, 15.66, -9.88)
CIE-LCHlch(13.73, 18.52, 327.75°)
OKLaboklab(26.26% 0.0437 -0.0269)
OKLCHoklch(26.26% 0.051 328.4)
XYZxyz(2.2617, 1.6838, 3.1110)
Luminance0.0168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321B31 #1B321C
analogous
#281B32 #321B31 #321B25
triadic
#321B31 #31321B #1B3132
tetradic
#321B31 #32281B #1B321C #1B2532
square
#321B31 #32281B #1B321C #1B2532
split-complementary
#321B31 #25321B #1B3228
monochromatic
#140B13 #140B13 #321B31 #5A3058 #81467F

Accessibility & contrast

On white

15.71
#321B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321B31
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321B31#FFFFFF#000000##FFFFFF
##321B311.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2132
Deuteranopia (green-blind)
#202430
Tritanopia (blue-blind)
#331D23
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321b31;
/* rgb */ color: rgb(50, 27, 49);
/* oklch */ color: oklch(26.3% 0.051 328.4);
Tailwind
colors: {
  custom: {
    50: '#6a5869',
    500: '#321b31',
    950: '#000000',
  },
}
SCSS
$custom: #321b31;
$custom-light: #6a5869;
$custom-dark: #000000;
JSON
{
  "hex": "#321b31",
  "rgb": {
    "r": 50,
    "g": 27,
    "b": 49
  },
  "hsl": {
    "h": 302.609,
    "s": 29.87,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26262,
    "c": 0.05133,
    "h": 328.4
  },
  "luminance": 0.01684
}

Semantic roles & 50–950 ramp

primary
#321B31
secondary
#436644
accent
#C66662
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #321B31

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

Preview Lab → · Contrast checker → · Palette generator →

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