#322087#322087

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

Color values

HEX#322087
RGBrgb(50, 32, 135)
HSLhsl(250, 62%, 33%)
HSVhsv(250, 76%, 53%)
CMYKcmyk(63%, 76.3%, 0%, 47.1%)
CIE-LABlab(21.80, 38.39, -54.38)
CIE-LCHlch(21.80, 66.57, 305.22°)
OKLaboklab(34.27% 0.0329 -0.1568)
OKLCHoklch(34.27% 0.16 281.8)
XYZxyz(6.2037, 3.4600, 23.2579)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322087 #758720
analogous
#204287 #322087 #652087
triadic
#322087 #873220 #208732
tetradic
#322087 #872042 #758720 #208765
square
#322087 #872042 #758720 #208765
split-complementary
#322087 #876520 #428720
monochromatic
#0D0924 #201456 #322087 #442CB8 #644DD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##322087#FFFFFF#000000##FFFFFF
##3220871.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)
#00388A
Deuteranopia (green-blind)
#003185
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #322087;
/* rgb */ color: rgb(50, 32, 135);
/* oklch */ color: oklch(34.3% 0.160 281.8);
Tailwind
colors: {
  custom: {
    50: '#755eab',
    500: '#322087',
    950: '#000000',
  },
}
SCSS
$custom: #322087;
$custom-light: #755eab;
$custom-dark: #000000;
JSON
{
  "hex": "#322087",
  "rgb": {
    "r": 50,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 250.485,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34273,
    "c": 0.16024,
    "h": 281.8
  },
  "luminance": 0.0346
}

Semantic roles & 50–950 ramp

primary
#322087
secondary
#A5B84B
accent
#E543C9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #322087

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

Preview Lab → · Contrast checker → · Palette generator →

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