#321E3A#321E3A

#321E3A is a dark, muted purple. Relative luminance 0.019; OKLCH L 27.4% C 0.057 H 315.8°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#321E3A
RGBrgb(50, 30, 58)
HSLhsl(283, 32%, 17%)
HSVhsv(283, 48%, 23%)
CMYKcmyk(13.8%, 48.3%, 0%, 77.3%)
CIE-LABlab(15.02, 15.85, -14.29)
CIE-LCHlch(15.02, 21.34, 317.95°)
OKLaboklab(27.38% 0.0406 -0.0395)
OKLCHoklch(27.38% 0.057 315.8)
XYZxyz(2.5433, 1.9122, 4.2373)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321E3A #263A1E
analogous
#241E3A #321E3A #3A1E34
triadic
#321E3A #3A321E #1E3A32
tetradic
#321E3A #3A241E #263A1E #1E343A
square
#321E3A #3A241E #263A1E #1E343A
split-complementary
#321E3A #343A1E #1E3A24
monochromatic
#110A14 #110A14 #321E3A #553362 #78488B

Accessibility & contrast

On white

15.19
#321E3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#321E3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321E3A
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321E3A#FFFFFF#000000##FFFFFF
##321E3A1.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19243B
Deuteranopia (green-blind)
#1E2639
Tritanopia (blue-blind)
#322229
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #321e3a;
/* rgb */ color: rgb(50, 30, 58);
/* oklch */ color: oklch(27.4% 0.057 315.8);
Tailwind
colors: {
  custom: {
    50: '#6a5a70',
    500: '#321e3a',
    950: '#000000',
  },
}
SCSS
$custom: #321e3a;
$custom-light: #6a5a70;
$custom-dark: #000000;
JSON
{
  "hex": "#321e3a",
  "rgb": {
    "r": 50,
    "g": 30,
    "b": 58
  },
  "hsl": {
    "h": 282.857,
    "s": 31.818,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27384,
    "c": 0.05662,
    "h": 315.8
  },
  "luminance": 0.01912
}

Semantic roles & 50–950 ramp

primary
#321E3A
secondary
#516E46
accent
#C8607E
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #321E3A

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

Preview Lab → · Contrast checker → · Palette generator →

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