#322185#322185

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

Color values

HEX#322185
RGBrgb(50, 33, 133)
HSLhsl(250, 60%, 33%)
HSVhsv(250, 75%, 52%)
CMYKcmyk(62.4%, 75.2%, 0%, 47.8%)
CIE-LABlab(21.80, 37.18, -53.13)
CIE-LCHlch(21.80, 64.85, 304.98°)
OKLaboklab(34.21% 0.0326 -0.1532)
OKLCHoklch(34.21% 0.157 282)
XYZxyz(6.0916, 3.4589, 22.5324)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322185 #748521
analogous
#214285 #322185 #642185
triadic
#322185 #853221 #218532
tetradic
#322185 #852142 #748521 #218564
square
#322185 #852142 #748521 #218564
split-complementary
#322185 #856421 #428521
monochromatic
#0D0923 #201554 #322185 #442DB6 #644DD3

Accessibility & contrast

On white

12.41
#322185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322185
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322185#FFFFFF#000000##FFFFFF
##3221851.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #322185;
/* rgb */ color: rgb(50, 33, 133);
/* oklch */ color: oklch(34.2% 0.157 282.0);
Tailwind
colors: {
  custom: {
    50: '#755eaa',
    500: '#322185',
    950: '#000000',
  },
}
SCSS
$custom: #322185;
$custom-light: #755eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#322185",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 250.2,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34209,
    "c": 0.15661,
    "h": 282
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#322185
secondary
#A4B64C
accent
#E344C8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #322185

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

Preview Lab → · Contrast checker → · Palette generator →

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