#322182#322182

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

Color values

HEX#322182
RGBrgb(50, 33, 130)
HSLhsl(251, 60%, 32%)
HSVhsv(251, 75%, 51%)
CMYKcmyk(61.5%, 74.6%, 0%, 49%)
CIE-LABlab(21.49, 36.22, -51.74)
CIE-LCHlch(21.49, 63.15, 304.99°)
OKLaboklab(33.91% 0.0333 -0.1491)
OKLCHoklch(33.91% 0.153 282.6)
XYZxyz(5.8873, 3.3771, 21.4564)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322182 #718221
analogous
#214182 #322182 #622182
triadic
#322182 #823221 #218232
tetradic
#322182 #822141 #718221 #218262
square
#322182 #822141 #718221 #218262
split-complementary
#322182 #826221 #418221
monochromatic
#0C0820 #1F1551 #322182 #452DB3 #634CD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##322182#FFFFFF#000000##FFFFFF
##3221821.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)
#003785
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #322182;
/* rgb */ color: rgb(50, 33, 130);
/* oklch */ color: oklch(33.9% 0.153 282.6);
Tailwind
colors: {
  custom: {
    50: '#745ea7',
    500: '#322182',
    950: '#000000',
  },
}
SCSS
$custom: #322182;
$custom-light: #745ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#322182",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 250.515,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33905,
    "c": 0.15277,
    "h": 282.6
  },
  "luminance": 0.03378
}

Semantic roles & 50–950 ramp

primary
#322182
secondary
#A2B44A
accent
#E345C7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #322182

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

Preview Lab → · Contrast checker → · Palette generator →

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