#322179#322179

#322179 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.141 H 284.4°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#322179
RGBrgb(50, 33, 121)
HSLhsl(252, 57%, 30%)
HSVhsv(252, 73%, 47%)
CMYKcmyk(58.7%, 72.7%, 0%, 52.5%)
CIE-LABlab(20.62, 33.29, -47.46)
CIE-LCHlch(20.62, 57.97, 305.05°)
OKLaboklab(33.01% 0.0352 -0.1366)
OKLCHoklch(33.01% 0.141 284.4)
XYZxyz(5.3094, 3.1460, 18.4129)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322179 #687921
analogous
#213C79 #322179 #5E2179
triadic
#322179 #793221 #217932
tetradic
#322179 #79213C #687921 #21795E
square
#322179 #79213C #687921 #21795E
split-complementary
#322179 #795E21 #3C7921
monochromatic
#0A0719 #1E1449 #322179 #462EA9 #6147CD

Accessibility & contrast

On white

12.89
#322179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#322179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322179
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322179#FFFFFF#000000##FFFFFF
##3221791.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#0F384A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #322179;
/* rgb */ color: rgb(50, 33, 121);
/* oklch */ color: oklch(33.0% 0.141 284.4);
Tailwind
colors: {
  custom: {
    50: '#725ea1',
    500: '#322179',
    950: '#000000',
  },
}
SCSS
$custom: #322179;
$custom-light: #725ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#322179",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 251.591,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33014,
    "c": 0.14104,
    "h": 284.4
  },
  "luminance": 0.03146
}

Semantic roles & 50–950 ramp

primary
#322179
secondary
#99AC4A
accent
#E047C3
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #322179

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

Preview Lab → · Contrast checker → · Palette generator →

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