#321C36#321C36

#321C36 is a dark, muted purple. Relative luminance 0.018; OKLCH L 26.7% C 0.055 H 321.3°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#321C36
RGBrgb(50, 28, 54)
HSLhsl(291, 32%, 16%)
HSVhsv(291, 48%, 21%)
CMYKcmyk(7.4%, 48.1%, 0%, 78.8%)
CIE-LABlab(14.26, 16.19, -12.64)
CIE-LCHlch(14.26, 20.54, 322.01°)
OKLaboklab(26.74% 0.0433 -0.0347)
OKLCHoklch(26.74% 0.055 321.3)
XYZxyz(2.3964, 1.7750, 3.7057)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321C36 #20361C
analogous
#251C36 #321C36 #361C2D
triadic
#321C36 #36321C #1C3632
tetradic
#321C36 #36251C #20361C #1C2D36
square
#321C36 #36251C #20361C #1C2D36
split-complementary
#321C36 #2D361C #1C3625
monochromatic
#130A14 #130A14 #321C36 #57315E #7D4687

Accessibility & contrast

On white

15.50
#321C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#321C36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321C36
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321C36#FFFFFF#000000##FFFFFF
##321C361.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192337
Deuteranopia (green-blind)
#1E2535
Tritanopia (blue-blind)
#331F26
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #321c36;
/* rgb */ color: rgb(50, 28, 54);
/* oklch */ color: oklch(26.7% 0.055 321.3);
Tailwind
colors: {
  custom: {
    50: '#6a586d',
    500: '#321c36',
    950: '#000000',
  },
}
SCSS
$custom: #321c36;
$custom-light: #6a586d;
$custom-dark: #000000;
JSON
{
  "hex": "#321c36",
  "rgb": {
    "r": 50,
    "g": 28,
    "b": 54
  },
  "hsl": {
    "h": 290.769,
    "s": 31.707,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26743,
    "c": 0.05548,
    "h": 321.3
  },
  "luminance": 0.01775
}

Semantic roles & 50–950 ramp

primary
#321C36
secondary
#4A6A44
accent
#C86070
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060307
muted
#7A787A

Preview Lab

Preview with #321C36

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

Preview Lab → · Contrast checker → · Palette generator →

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