#322085#322085

#322085 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.158 H 282.2°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#322085
RGBrgb(50, 32, 133)
HSLhsl(251, 61%, 32%)
HSVhsv(251, 76%, 52%)
CMYKcmyk(62.4%, 75.9%, 0%, 47.8%)
CIE-LABlab(21.59, 37.75, -53.46)
CIE-LCHlch(21.59, 65.45, 305.22°)
OKLaboklab(34.07% 0.0334 -0.1541)
OKLCHoklch(34.07% 0.158 282.2)
XYZxyz(6.0642, 3.4042, 22.5233)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322085 #738520
analogous
#204185 #322085 #652085
triadic
#322085 #853220 #208532
tetradic
#322085 #852041 #738520 #208565
square
#322085 #852041 #738520 #208565
split-complementary
#322085 #856520 #418520
monochromatic
#0D0822 #1F1454 #322085 #452CB6 #644CD4

Accessibility & contrast

On white

12.49
#322085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322085
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322085#FFFFFF#000000##FFFFFF
##3220851.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #322085;
/* rgb */ color: rgb(50, 32, 133);
/* oklch */ color: oklch(34.1% 0.158 282.2);
Tailwind
colors: {
  custom: {
    50: '#755eaa',
    500: '#322085',
    950: '#000000',
  },
}
SCSS
$custom: #322085;
$custom-light: #755eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#322085",
  "rgb": {
    "r": 50,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 250.693,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34067,
    "c": 0.15771,
    "h": 282.2
  },
  "luminance": 0.03405
}

Semantic roles & 50–950 ramp

primary
#322085
secondary
#A3B74A
accent
#E443C8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #322085

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

Preview Lab → · Contrast checker → · Palette generator →

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