#322379#322379

#322379 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.3% C 0.139 H 283.9°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#322379
RGBrgb(50, 35, 121)
HSLhsl(250, 55%, 31%)
HSVhsv(250, 71%, 47%)
CMYKcmyk(58.7%, 71.1%, 0%, 52.5%)
CIE-LABlab(21.06, 32.09, -46.74)
CIE-LCHlch(21.06, 56.70, 304.47°)
OKLaboklab(33.33% 0.0334 -0.1345)
OKLCHoklch(33.33% 0.139 283.9)
XYZxyz(5.3666, 3.2603, 18.4320)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322379 #6A7923
analogous
#233F79 #322379 #5D2379
triadic
#322379 #793223 #237932
tetradic
#322379 #79233F #6A7923 #23795D
square
#322379 #79233F #6A7923 #23795D
split-complementary
#322379 #795D23 #3F7923
monochromatic
#0B081A #1E154A #322379 #4631A8 #624BCB

Accessibility & contrast

On white

12.71
#322379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322379
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322379#FFFFFF#000000##FFFFFF
##3223791.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#0E394B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #322379;
/* rgb */ color: rgb(50, 35, 121);
/* oklch */ color: oklch(33.3% 0.139 283.9);
Tailwind
colors: {
  custom: {
    50: '#725fa1',
    500: '#322379',
    950: '#000000',
  },
}
SCSS
$custom: #322379;
$custom-light: #725fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#322379",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 250.465,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33328,
    "c": 0.13855,
    "h": 283.9
  },
  "luminance": 0.03261
}

Semantic roles & 50–950 ramp

primary
#322379
secondary
#9BAC4C
accent
#DE49C4
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #322379

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

Preview Lab → · Contrast checker → · Palette generator →

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