#322471#322471

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

Color values

HEX#322471
RGBrgb(50, 36, 113)
HSLhsl(251, 52%, 29%)
HSVhsv(251, 68%, 44%)
CMYKcmyk(55.8%, 68.1%, 0%, 55.7%)
CIE-LABlab(20.56, 28.81, -42.42)
CIE-LCHlch(20.56, 51.28, 304.19°)
OKLaboklab(32.75% 0.0335 -0.1218)
OKLCHoklch(32.75% 0.126 285.4)
XYZxyz(4.9260, 3.1319, 15.9645)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322471 #637124
analogous
#243D71 #322471 #592471
triadic
#322471 #713224 #247132
tetradic
#322471 #71243D #637124 #247159
square
#322471 #71243D #637124 #247159
split-complementary
#322471 #715924 #3D7124
monochromatic
#0A0717 #1D1543 #322471 #47339F #604AC5

Accessibility & contrast

On white

12.91
#322471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#322471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322471
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322471#FFFFFF#000000##FFFFFF
##3224711.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#183747
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #322471;
/* rgb */ color: rgb(50, 36, 113);
/* oklch */ color: oklch(32.7% 0.126 285.4);
Tailwind
colors: {
  custom: {
    50: '#715f9a',
    500: '#322471',
    950: '#000000',
  },
}
SCSS
$custom: #322471;
$custom-light: #715f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#322471",
  "rgb": {
    "r": 50,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 250.909,
    "s": 51.678,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32749,
    "c": 0.12631,
    "h": 285.4
  },
  "luminance": 0.03132
}

Semantic roles & 50–950 ramp

primary
#322471
secondary
#94A44D
accent
#DB4DC1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #322471

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

Preview Lab → · Contrast checker → · Palette generator →

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