#322571#322571

#322571 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 32.9% C 0.125 H 285.1°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#322571
RGBrgb(50, 37, 113)
HSLhsl(250, 51%, 29%)
HSVhsv(250, 67%, 44%)
CMYKcmyk(55.8%, 67.3%, 0%, 55.7%)
CIE-LABlab(20.80, 28.18, -42.03)
CIE-LCHlch(20.80, 50.60, 303.84°)
OKLaboklab(32.92% 0.0325 -0.1206)
OKLCHoklch(32.92% 0.125 285.1)
XYZxyz(4.9567, 3.1932, 15.9748)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322571 #647125
analogous
#253E71 #322571 #582571
triadic
#322571 #713225 #257132
tetradic
#322571 #71253E #647125 #257158
square
#322571 #71253E #647125 #257158
split-complementary
#322571 #715825 #3E7125
monochromatic
#0A0817 #1E1643 #322571 #46349F #614CC4

Accessibility & contrast

On white

12.82
#322571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#322571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322571
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322571#FFFFFF#000000##FFFFFF
##3225711.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#183847
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #322571;
/* rgb */ color: rgb(50, 37, 113);
/* oklch */ color: oklch(32.9% 0.125 285.1);
Tailwind
colors: {
  custom: {
    50: '#71609a',
    500: '#322571',
    950: '#000000',
  },
}
SCSS
$custom: #322571;
$custom-light: #71609a;
$custom-dark: #000000;
JSON
{
  "hex": "#322571",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 250.263,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32921,
    "c": 0.12494,
    "h": 285.1
  },
  "luminance": 0.03193
}

Semantic roles & 50–950 ramp

primary
#322571
secondary
#95A44E
accent
#DA4EC2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #322571

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

Preview Lab → · Contrast checker → · Palette generator →

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