#322086#322086

#322086 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.159 H 282.0°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#322086
RGBrgb(50, 32, 134)
HSLhsl(251, 61%, 33%)
HSVhsv(251, 76%, 53%)
CMYKcmyk(62.7%, 76.1%, 0%, 47.5%)
CIE-LABlab(21.70, 38.07, -53.92)
CIE-LCHlch(21.70, 66.01, 305.22°)
OKLaboklab(34.17% 0.0331 -0.1555)
OKLCHoklch(34.17% 0.159 282)
XYZxyz(6.1336, 3.4319, 22.8888)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322086 #748620
analogous
#204186 #322086 #652086
triadic
#322086 #863220 #208632
tetradic
#322086 #862041 #748620 #208665
square
#322086 #862041 #748620 #208665
split-complementary
#322086 #866520 #418620
monochromatic
#0D0823 #201455 #322086 #442CB7 #644CD4

Accessibility & contrast

On white

12.45
#322086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#322086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322086
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322086#FFFFFF#000000##FFFFFF
##3220861.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #322086;
/* rgb */ color: rgb(50, 32, 134);
/* oklch */ color: oklch(34.2% 0.159 282.0);
Tailwind
colors: {
  custom: {
    50: '#755eaa',
    500: '#322086',
    950: '#000000',
  },
}
SCSS
$custom: #322086;
$custom-light: #755eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#322086",
  "rgb": {
    "r": 50,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 250.588,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3417,
    "c": 0.15898,
    "h": 282
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#322086
secondary
#A4B74B
accent
#E543C8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #322086

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

Preview Lab → · Contrast checker → · Palette generator →

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