#322372#322372

#322372 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.7% C 0.129 H 285.5°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#322372
RGBrgb(50, 35, 114)
HSLhsl(251, 53%, 29%)
HSVhsv(251, 69%, 45%)
CMYKcmyk(56.1%, 69.3%, 0%, 55.3%)
CIE-LABlab(20.42, 29.77, -43.30)
CIE-LCHlch(20.42, 52.55, 304.51°)
OKLaboklab(32.67% 0.0344 -0.1244)
OKLCHoklch(32.67% 0.129 285.5)
XYZxyz(4.9528, 3.0948, 16.2527)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322372 #637223
analogous
#233C72 #322372 #5A2372
triadic
#322372 #723223 #237232
tetradic
#322372 #72233C #637223 #23725A
square
#322372 #72233C #637223 #23725A
split-complementary
#322372 #725A23 #3C7223
monochromatic
#0A0717 #1D1543 #322372 #4731A1 #6048C7

Accessibility & contrast

On white

12.97
#322372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#322372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322372
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322372#FFFFFF#000000##FFFFFF
##3223721.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003374
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#173747
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #322372;
/* rgb */ color: rgb(50, 35, 114);
/* oklch */ color: oklch(32.7% 0.129 285.5);
Tailwind
colors: {
  custom: {
    50: '#715f9b',
    500: '#322372',
    950: '#000000',
  },
}
SCSS
$custom: #322372;
$custom-light: #715f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#322372",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 251.392,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32671,
    "c": 0.12905,
    "h": 285.5
  },
  "luminance": 0.03095
}

Semantic roles & 50–950 ramp

primary
#322372
secondary
#94A54C
accent
#DC4BC1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #322372

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

Preview Lab → · Contrast checker → · Palette generator →

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