#322186#322186

#322186 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.158 H 281.8°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#322186
RGBrgb(50, 33, 134)
HSLhsl(250, 60%, 33%)
HSVhsv(250, 75%, 53%)
CMYKcmyk(62.7%, 75.4%, 0%, 47.5%)
CIE-LABlab(21.90, 37.51, -53.60)
CIE-LCHlch(21.90, 65.42, 304.98°)
OKLaboklab(34.31% 0.0324 -0.1545)
OKLCHoklch(34.31% 0.158 281.8)
XYZxyz(6.1610, 3.4866, 22.8980)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322186 #758621
analogous
#214286 #322186 #642186
triadic
#322186 #863221 #218632
tetradic
#322186 #862142 #758621 #218664
square
#322186 #862142 #758621 #218664
split-complementary
#322186 #866421 #428621
monochromatic
#0D0924 #201555 #322186 #442DB7 #644ED3

Accessibility & contrast

On white

12.37
#322186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#322186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322186
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322186#FFFFFF#000000##FFFFFF
##3221861.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #322186;
/* rgb */ color: rgb(50, 33, 134);
/* oklch */ color: oklch(34.3% 0.158 281.8);
Tailwind
colors: {
  custom: {
    50: '#755eaa',
    500: '#322186',
    950: '#000000',
  },
}
SCSS
$custom: #322186;
$custom-light: #755eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#322186",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 250.099,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34311,
    "c": 0.15789,
    "h": 281.8
  },
  "luminance": 0.03487
}

Semantic roles & 50–950 ramp

primary
#322186
secondary
#A5B74C
accent
#E444C9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #322186

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

Preview Lab → · Contrast checker → · Palette generator →

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