#322080#322080

#322080 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.151 H 283.2°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#322080
RGBrgb(50, 32, 128)
HSLhsl(251, 60%, 31%)
HSVhsv(251, 75%, 50%)
CMYKcmyk(60.9%, 75%, 0%, 49.8%)
CIE-LABlab(21.09, 36.14, -51.14)
CIE-LCHlch(21.09, 62.62, 305.25°)
OKLaboklab(33.56% 0.0345 -0.1473)
OKLCHoklch(33.56% 0.151 283.2)
XYZxyz(5.7270, 3.2693, 20.7471)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322080 #6E8020
analogous
#203E80 #322080 #622080
triadic
#322080 #803220 #208032
tetradic
#322080 #80203E #6E8020 #208062
square
#322080 #80203E #6E8020 #208062
split-complementary
#322080 #806220 #3E8020
monochromatic
#0C081E #1F144F #322080 #452CB1 #6349D1

Accessibility & contrast

On white

12.70
#322080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#322080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322080
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322080#FFFFFF#000000##FFFFFF
##3220801.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#013A4E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #322080;
/* rgb */ color: rgb(50, 32, 128);
/* oklch */ color: oklch(33.6% 0.151 283.2);
Tailwind
colors: {
  custom: {
    50: '#745ea6',
    500: '#322080',
    950: '#000000',
  },
}
SCSS
$custom: #322080;
$custom-light: #745ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#322080",
  "rgb": {
    "r": 50,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 251.25,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33559,
    "c": 0.15133,
    "h": 283.2
  },
  "luminance": 0.0327
}

Semantic roles & 50–950 ramp

primary
#322080
secondary
#9FB349
accent
#E345C5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #322080

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

Preview Lab → · Contrast checker → · Palette generator →

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