#321333#321333

#321333 is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 24.9% C 0.071 H 326.2°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#321333
RGBrgb(50, 19, 51)
HSLhsl(298, 46%, 14%)
HSVhsv(298, 63%, 20%)
CMYKcmyk(2%, 62.7%, 0%, 80%)
CIE-LABlab(11.84, 21.30, -14.26)
CIE-LCHlch(11.84, 25.63, 326.20°)
OKLaboklab(24.89% 0.0588 -0.0393)
OKLCHoklch(24.89% 0.071 326.2)
XYZxyz(2.1458, 1.3830, 3.2852)
Luminance0.0138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321333 #143313
analogous
#221333 #321333 #331324
triadic
#321333 #333213 #133332
tetradic
#321333 #332213 #143313 #132433
square
#321333 #332213 #143313 #132433
split-complementary
#321333 #243313 #133322
monochromatic
#160816 #160816 #321333 #5E2460 #89348C

Accessibility & contrast

On white

16.45
#321333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#321333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321333
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321333#FFFFFF#000000##FFFFFF
##3213331.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1D34
Deuteranopia (green-blind)
#192132
Tritanopia (blue-blind)
#331720
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #321333;
/* rgb */ color: rgb(50, 19, 51);
/* oklch */ color: oklch(24.9% 0.071 326.2);
Tailwind
colors: {
  custom: {
    50: '#6b526a',
    500: '#321333',
    950: '#000000',
  },
}
SCSS
$custom: #321333;
$custom-light: #6b526a;
$custom-dark: #000000;
JSON
{
  "hex": "#321333",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 51
  },
  "hsl": {
    "h": 298.125,
    "s": 45.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24892,
    "c": 0.07066,
    "h": 326.2
  },
  "luminance": 0.01383
}

Semantic roles & 50–950 ramp

primary
#321333
secondary
#396B37
accent
#D55257
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #321333

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

Preview Lab → · Contrast checker → · Palette generator →

#321333 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva