#322084#322084

#322084 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.156 H 282.4°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#322084
RGBrgb(50, 32, 132)
HSLhsl(251, 61%, 32%)
HSVhsv(251, 76%, 52%)
CMYKcmyk(62.1%, 75.8%, 0%, 48.2%)
CIE-LABlab(21.49, 37.43, -53.00)
CIE-LCHlch(21.49, 64.88, 305.23°)
OKLaboklab(33.97% 0.0336 -0.1528)
OKLCHoklch(33.97% 0.156 282.4)
XYZxyz(5.9955, 3.3767, 22.1611)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322084 #728420
analogous
#204084 #322084 #642084
triadic
#322084 #843220 #208432
tetradic
#322084 #842040 #728420 #208464
square
#322084 #842040 #728420 #208464
split-complementary
#322084 #846420 #408420
monochromatic
#0D0821 #1F1453 #322084 #452CB5 #644BD3

Accessibility & contrast

On white

12.53
#322084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#322084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322084
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322084#FFFFFF#000000##FFFFFF
##3220841.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#003082
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #322084;
/* rgb */ color: rgb(50, 32, 132);
/* oklch */ color: oklch(34.0% 0.156 282.4);
Tailwind
colors: {
  custom: {
    50: '#755ea9',
    500: '#322084',
    950: '#000000',
  },
}
SCSS
$custom: #322084;
$custom-light: #755ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#322084",
  "rgb": {
    "r": 50,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 250.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33965,
    "c": 0.15644,
    "h": 282.4
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

primary
#322084
secondary
#A3B64A
accent
#E444C7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #322084

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

Preview Lab → · Contrast checker → · Palette generator →

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