#321E36#321E36

#321E36 is a dark, muted purple. Relative luminance 0.019; OKLCH L 27.2% C 0.051 H 320.8°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#321E36
RGBrgb(50, 30, 54)
HSLhsl(290, 29%, 16%)
HSVhsv(290, 44%, 21%)
CMYKcmyk(7.4%, 44.4%, 0%, 78.8%)
CIE-LABlab(14.81, 14.82, -11.79)
CIE-LCHlch(14.81, 18.94, 321.49°)
OKLaboklab(27.15% 0.0396 -0.0323)
OKLCHoklch(27.15% 0.051 320.8)
XYZxyz(2.4454, 1.8731, 3.7220)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321E36 #22361E
analogous
#261E36 #321E36 #361E2E
triadic
#321E36 #36321E #1E3632
tetradic
#321E36 #36261E #22361E #1E2E36
square
#321E36 #36261E #22361E #1E2E36
split-complementary
#321E36 #2E361E #1E3626
monochromatic
#120B14 #120B14 #321E36 #56345D #7B4A85

Accessibility & contrast

On white

15.28
#321E36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321E36
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321E36#FFFFFF#000000##FFFFFF
##321E361.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2437
Deuteranopia (green-blind)
#202635
Tritanopia (blue-blind)
#322127
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #321e36;
/* rgb */ color: rgb(50, 30, 54);
/* oklch */ color: oklch(27.2% 0.051 320.8);
Tailwind
colors: {
  custom: {
    50: '#6a5a6d',
    500: '#321e36',
    950: '#000000',
  },
}
SCSS
$custom: #321e36;
$custom-light: #6a5a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#321e36",
  "rgb": {
    "r": 50,
    "g": 30,
    "b": 54
  },
  "hsl": {
    "h": 290,
    "s": 28.571,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27154,
    "c": 0.05107,
    "h": 320.8
  },
  "luminance": 0.01873
}

Semantic roles & 50–950 ramp

primary
#321E36
secondary
#4C6946
accent
#C56373
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060307
muted
#7A787A

Preview Lab

Preview with #321E36

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

Preview Lab → · Contrast checker → · Palette generator →

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