#321A93#321A93

#321A93 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.181 H 280.6°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#321A93
RGBrgb(50, 26, 147)
HSLhsl(252, 70%, 34%)
HSVhsv(252, 82%, 58%)
CMYKcmyk(66%, 82.3%, 0%, 42.4%)
CIE-LABlab(22.03, 45.17, -61.49)
CIE-LCHlch(22.03, 76.29, 306.30°)
OKLaboklab(34.82% 0.0331 -0.1775)
OKLCHoklch(34.82% 0.181 280.6)
XYZxyz(6.9496, 3.5229, 27.9119)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321A93 #7B931A
analogous
#1A3F93 #321A93 #6F1A93
triadic
#321A93 #93321A #1A9332
tetradic
#321A93 #931A3F #7B931A #1A936F
square
#321A93 #931A3F #7B931A #1A936F
split-complementary
#321A93 #936F1A #3F931A
monochromatic
#0F082B #20115F #321A93 #4423C7 #6649DF

Accessibility & contrast

On white

12.32
#321A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#321A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321A93
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321A93#FFFFFF#000000##FFFFFF
##321A931.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003996
Deuteranopia (green-blind)
#003091
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #321a93;
/* rgb */ color: rgb(50, 26, 147);
/* oklch */ color: oklch(34.8% 0.181 280.6);
Tailwind
colors: {
  custom: {
    50: '#785bb4',
    500: '#321a93',
    950: '#000000',
  },
}
SCSS
$custom: #321a93;
$custom-light: #785bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#321a93",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 251.901,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34818,
    "c": 0.18053,
    "h": 280.6
  },
  "luminance": 0.03523
}

Semantic roles & 50–950 ramp

primary
#321A93
secondary
#A9C048
accent
#ED3BC9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #321A93

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

Preview Lab → · Contrast checker → · Palette generator →

#321A93 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva