#322331#322331

#322331 is a dark, muted purple. Relative luminance 0.021; OKLCH L 28.0% C 0.033 H 328.6°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#322331
RGBrgb(50, 35, 49)
HSLhsl(304, 18%, 17%)
HSVhsv(304, 30%, 20%)
CMYKcmyk(0%, 30%, 2%, 80.4%)
CIE-LABlab(16.01, 10.12, -6.40)
CIE-LCHlch(16.01, 11.98, 327.70°)
OKLaboklab(27.99% 0.0282 -0.0172)
OKLCHoklch(27.99% 0.033 328.6)
XYZxyz(2.4707, 2.1020, 3.1807)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322331 #233224
analogous
#2C2332 #322331 #32232A
triadic
#322331 #313223 #233132
tetradic
#322331 #322C23 #233224 #232A32
square
#322331 #322C23 #233224 #232A32
split-complementary
#322331 #2A3223 #23322C
monochromatic
#120D12 #120D12 #322331 #563C54 #7A5578

Accessibility & contrast

On white

14.78
#322331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322331
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322331#FFFFFF#000000##FFFFFF
##3223311.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222732
Deuteranopia (green-blind)
#262830
Tritanopia (blue-blind)
#332428
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #322331;
/* rgb */ color: rgb(50, 35, 49);
/* oklch */ color: oklch(28.0% 0.033 328.6);
Tailwind
colors: {
  custom: {
    50: '#6a5e69',
    500: '#322331',
    950: '#000000',
  },
}
SCSS
$custom: #322331;
$custom-light: #6a5e69;
$custom-dark: #000000;
JSON
{
  "hex": "#322331",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 49
  },
  "hsl": {
    "h": 304,
    "s": 17.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27994,
    "c": 0.03306,
    "h": 328.6
  },
  "luminance": 0.02102
}

Semantic roles & 50–950 ramp

primary
#322331
secondary
#4D634F
accent
#BA736D
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #322331

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

Preview Lab → · Contrast checker → · Palette generator →

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