#322237#322237

#322237 is a dark, muted purple. Relative luminance 0.021; OKLCH L 28.1% C 0.044 H 318.0°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#322237
RGBrgb(50, 34, 55)
HSLhsl(286, 24%, 17%)
HSVhsv(286, 38%, 22%)
CMYKcmyk(9.1%, 38.2%, 0%, 78.4%)
CIE-LABlab(15.99, 12.30, -10.67)
CIE-LCHlch(15.99, 16.28, 319.07°)
OKLaboklab(28.07% 0.0323 -0.0292)
OKLCHoklch(28.07% 0.044 318)
XYZxyz(2.5769, 2.0981, 3.8829)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322237 #273722
analogous
#272237 #322237 #372232
triadic
#322237 #373222 #223732
tetradic
#322237 #372722 #273722 #223237
square
#322237 #372722 #273722 #223237
split-complementary
#322237 #323722 #223727
monochromatic
#110C13 #110C13 #322237 #54395D #775183

Accessibility & contrast

On white

14.79
#322237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#322237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322237
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322237#FFFFFF#000000##FFFFFF
##3222371.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2738
Deuteranopia (green-blind)
#232836
Tritanopia (blue-blind)
#32242A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #322237;
/* rgb */ color: rgb(50, 34, 55);
/* oklch */ color: oklch(28.1% 0.044 318.0);
Tailwind
colors: {
  custom: {
    50: '#6a5d6d',
    500: '#322237',
    950: '#000000',
  },
}
SCSS
$custom: #322237;
$custom-light: #6a5d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#322237",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 55
  },
  "hsl": {
    "h": 285.714,
    "s": 23.596,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28069,
    "c": 0.04354,
    "h": 318
  },
  "luminance": 0.02098
}

Semantic roles & 50–950 ramp

primary
#322237
secondary
#53694B
accent
#C0687D
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060407
muted
#7A797A

Preview Lab

Preview with #322237

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

Preview Lab → · Contrast checker → · Palette generator →

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