#322038#322038

#322038 is a dark, muted purple. Relative luminance 0.020; OKLCH L 27.7% C 0.049 H 317.4°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#322038
RGBrgb(50, 32, 56)
HSLhsl(285, 27%, 17%)
HSVhsv(285, 43%, 22%)
CMYKcmyk(10.7%, 42.9%, 0%, 78%)
CIE-LABlab(15.47, 13.95, -12.18)
CIE-LCHlch(15.47, 18.52, 318.87°)
OKLaboklab(27.69% 0.0364 -0.0334)
OKLCHoklch(27.69% 0.049 317.4)
XYZxyz(2.5456, 1.9967, 3.9919)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322038 #263820
analogous
#262038 #322038 #382032
triadic
#322038 #383220 #203832
tetradic
#322038 #382620 #263820 #203238
square
#322038 #382620 #263820 #203238
split-complementary
#322038 #323820 #203826
monochromatic
#110B13 #110B13 #322038 #55365F #784D86

Accessibility & contrast

On white

15.01
#322038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#322038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322038
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322038#FFFFFF#000000##FFFFFF
##3220381.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2539
Deuteranopia (green-blind)
#212737
Tritanopia (blue-blind)
#322329
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #322038;
/* rgb */ color: rgb(50, 32, 56);
/* oklch */ color: oklch(27.7% 0.049 317.4);
Tailwind
colors: {
  custom: {
    50: '#6a5b6e',
    500: '#322038',
    950: '#000000',
  },
}
SCSS
$custom: #322038;
$custom-light: #6a5b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#322038",
  "rgb": {
    "r": 50,
    "g": 32,
    "b": 56
  },
  "hsl": {
    "h": 285,
    "s": 27.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27689,
    "c": 0.04942,
    "h": 317.4
  },
  "luminance": 0.01997
}

Semantic roles & 50–950 ramp

primary
#322038
secondary
#516B49
accent
#C4647C
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #322038

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

Preview Lab → · Contrast checker → · Palette generator →

#322038 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva