#321B30#321B30

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

Color values

HEX#321B30
RGBrgb(50, 27, 48)
HSLhsl(305, 30%, 15%)
HSVhsv(305, 46%, 20%)
CMYKcmyk(0%, 46%, 4%, 80.4%)
CIE-LABlab(13.68, 15.43, -9.24)
CIE-LCHlch(13.68, 17.98, 329.09°)
OKLaboklab(26.21% 0.0434 -0.025)
OKLCHoklch(26.21% 0.05 330)
XYZxyz(2.2408, 1.6755, 3.0011)
Luminance0.0168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321B30 #1B321D
analogous
#281B32 #321B30 #321B25
triadic
#321B30 #30321B #1B3032
tetradic
#321B30 #32281B #1B321D #1B2532
square
#321B30 #32281B #1B321D #1B2532
split-complementary
#321B30 #25321B #1B3228
monochromatic
#140B13 #140B13 #321B30 #5A3056 #81467C

Accessibility & contrast

On white

15.73
#321B30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321B30
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321B30#FFFFFF#000000##FFFFFF
##321B301.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2131
Deuteranopia (green-blind)
#20242F
Tritanopia (blue-blind)
#341D23
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321b30;
/* rgb */ color: rgb(50, 27, 48);
/* oklch */ color: oklch(26.2% 0.050 330.0);
Tailwind
colors: {
  custom: {
    50: '#6a5868',
    500: '#321b30',
    950: '#000000',
  },
}
SCSS
$custom: #321b30;
$custom-light: #6a5868;
$custom-dark: #000000;
JSON
{
  "hex": "#321b30",
  "rgb": {
    "r": 50,
    "g": 27,
    "b": 48
  },
  "hsl": {
    "h": 305.217,
    "s": 29.87,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26208,
    "c": 0.05013,
    "h": 330
  },
  "luminance": 0.01675
}

Semantic roles & 50–950 ramp

primary
#321B30
secondary
#436646
accent
#C66A62
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #321B30

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

Preview Lab → · Contrast checker → · Palette generator →

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