#321C3D#321C3D

#321C3D is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.2% C 0.065 H 313.5°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#321C3D
RGBrgb(50, 28, 61)
HSLhsl(280, 37%, 17%)
HSVhsv(280, 54%, 24%)
CMYKcmyk(18%, 54.1%, 0%, 76.1%)
CIE-LABlab(14.66, 17.99, -16.98)
CIE-LCHlch(14.66, 24.74, 316.66°)
OKLaboklab(27.17% 0.0448 -0.0472)
OKLCHoklch(27.17% 0.065 313.5)
XYZxyz(2.5728, 1.8456, 4.6347)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321C3D #273D1C
analogous
#211C3D #321C3D #3D1C38
triadic
#321C3D #3D321C #1C3D32
tetradic
#321C3D #3D211C #273D1C #1C383D
square
#321C3D #3D211C #273D1C #1C383D
split-complementary
#321C3D #383D1C #1C3D21
monochromatic
#110A15 #110A15 #321C3D #542F67 #774391

Accessibility & contrast

On white

15.34
#321C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#321C3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321C3D
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321C3D#FFFFFF#000000##FFFFFF
##321C3D1.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15243E
Deuteranopia (green-blind)
#1B263C
Tritanopia (blue-blind)
#312129
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #321c3d;
/* rgb */ color: rgb(50, 28, 61);
/* oklch */ color: oklch(27.2% 0.065 313.5);
Tailwind
colors: {
  custom: {
    50: '#6b5972',
    500: '#321c3d',
    950: '#000000',
  },
}
SCSS
$custom: #321c3d;
$custom-light: #6b5972;
$custom-dark: #000000;
JSON
{
  "hex": "#321c3d",
  "rgb": {
    "r": 50,
    "g": 28,
    "b": 61
  },
  "hsl": {
    "h": 280,
    "s": 37.079,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27168,
    "c": 0.06507,
    "h": 313.5
  },
  "luminance": 0.01846
}

Semantic roles & 50–950 ramp

primary
#321C3D
secondary
#537243
accent
#CD5B81
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060308
muted
#7A787B

Preview Lab

Preview with #321C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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