#322472#322472

#322472 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 32.8% C 0.128 H 285.2°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#322472
RGBrgb(50, 36, 114)
HSLhsl(251, 52%, 29%)
HSVhsv(251, 68%, 45%)
CMYKcmyk(56.1%, 68.4%, 0%, 55.3%)
CIE-LABlab(20.65, 29.15, -42.92)
CIE-LCHlch(20.65, 51.88, 304.18°)
OKLaboklab(32.84% 0.0334 -0.1232)
OKLCHoklch(32.84% 0.128 285.2)
XYZxyz(4.9826, 3.1545, 16.2627)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322472 #647224
analogous
#243D72 #322472 #592472
triadic
#322472 #723224 #247232
tetradic
#322472 #72243D #647224 #247259
square
#322472 #72243D #647224 #247259
split-complementary
#322472 #725924 #3D7224
monochromatic
#0A0717 #1E1543 #322472 #4633A1 #614AC6

Accessibility & contrast

On white

12.88
#322472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322472
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322472#FFFFFF#000000##FFFFFF
##3224721.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #322472;
/* rgb */ color: rgb(50, 36, 114);
/* oklch */ color: oklch(32.8% 0.128 285.2);
Tailwind
colors: {
  custom: {
    50: '#71609b',
    500: '#322472',
    950: '#000000',
  },
}
SCSS
$custom: #322472;
$custom-light: #71609b;
$custom-dark: #000000;
JSON
{
  "hex": "#322472",
  "rgb": {
    "r": 50,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 250.769,
    "s": 52,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3284,
    "c": 0.1277,
    "h": 285.2
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#322472
secondary
#95A54D
accent
#DB4CC2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #322472

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

Preview Lab → · Contrast checker → · Palette generator →

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