#321032#321032

#321032 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.3% C 0.075 H 327.6°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#321032
RGBrgb(50, 16, 50)
HSLhsl(300, 52%, 13%)
HSVhsv(300, 68%, 20%)
CMYKcmyk(0%, 68%, 0%, 80.4%)
CIE-LABlab(11.13, 22.84, -14.65)
CIE-LCHlch(11.13, 27.14, 327.32°)
OKLaboklab(24.35% 0.0636 -0.0404)
OKLCHoklch(24.35% 0.075 327.6)
XYZxyz(2.0764, 1.2791, 3.1545)
Luminance0.0128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321032 #103210
analogous
#211032 #321032 #321021
triadic
#321032 #323210 #103232
tetradic
#321032 #322110 #103210 #102132
square
#321032 #322110 #103210 #102132
split-complementary
#321032 #213210 #103221
monochromatic
#170717 #170717 #321032 #601F60 #8F2E8F

Accessibility & contrast

On white

16.72
#321032 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#321032 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321032
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321032#FFFFFF#000000##FFFFFF
##3210321.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1B33
Deuteranopia (green-blind)
#181F31
Tritanopia (blue-blind)
#34141F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #321032;
/* rgb */ color: rgb(50, 16, 50);
/* oklch */ color: oklch(24.3% 0.075 327.6);
Tailwind
colors: {
  custom: {
    50: '#6b506a',
    500: '#321032',
    950: '#000000',
  },
}
SCSS
$custom: #321032;
$custom-light: #6b506a;
$custom-dark: #000000;
JSON
{
  "hex": "#321032",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 50
  },
  "hsl": {
    "h": 300,
    "s": 51.515,
    "l": 12.941
  },
  "oklch": {
    "l": 0.24348,
    "c": 0.07531,
    "h": 327.6
  },
  "luminance": 0.01279
}

Semantic roles & 50–950 ramp

primary
#321032
secondary
#326B32
accent
#DB4D4D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #321032

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

Preview Lab → · Contrast checker → · Palette generator →

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