#321E38#321E38

#321E38 is a dark, muted purple. Relative luminance 0.019; OKLCH L 27.3% C 0.054 H 318.2°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#321E38
RGBrgb(50, 30, 56)
HSLhsl(286, 30%, 17%)
HSVhsv(286, 46%, 22%)
CMYKcmyk(10.7%, 46.4%, 0%, 78%)
CIE-LABlab(14.91, 15.33, -13.05)
CIE-LCHlch(14.91, 20.13, 319.59°)
OKLaboklab(27.27% 0.0401 -0.0359)
OKLCHoklch(27.27% 0.054 318.2)
XYZxyz(2.4934, 1.8923, 3.9745)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321E38 #24381E
analogous
#251E38 #321E38 #381E31
triadic
#321E38 #38321E #1E3832
tetradic
#321E38 #38251E #24381E #1E3138
square
#321E38 #38251E #24381E #1E3138
split-complementary
#321E38 #31381E #1E3825
monochromatic
#120B14 #120B14 #321E38 #563360 #794988

Accessibility & contrast

On white

15.24
#321E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321E38
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321E38#FFFFFF#000000##FFFFFF
##321E381.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2439
Deuteranopia (green-blind)
#1F2637
Tritanopia (blue-blind)
#322128
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #321e38;
/* rgb */ color: rgb(50, 30, 56);
/* oklch */ color: oklch(27.3% 0.054 318.2);
Tailwind
colors: {
  custom: {
    50: '#6a5a6e',
    500: '#321e38',
    950: '#000000',
  },
}
SCSS
$custom: #321e38;
$custom-light: #6a5a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#321e38",
  "rgb": {
    "r": 50,
    "g": 30,
    "b": 56
  },
  "hsl": {
    "h": 286.154,
    "s": 30.233,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27267,
    "c": 0.05382,
    "h": 318.2
  },
  "luminance": 0.01892
}

Semantic roles & 50–950 ramp

primary
#321E38
secondary
#4F6C46
accent
#C66179
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060307
muted
#7A787A

Preview Lab

Preview with #321E38

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

Preview Lab → · Contrast checker → · Palette generator →

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