#5328A1#5328A1

#5328A1 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.181 H 292.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#5328A1
RGBrgb(83, 40, 161)
HSLhsl(261, 60%, 39%)
HSVhsv(261, 75%, 63%)
CMYKcmyk(48.4%, 75.2%, 0%, 36.9%)
CIE-LABlab(29.23, 46.88, -58.08)
CIE-LCHlch(29.23, 74.64, 308.91°)
OKLaboklab(41.1% 0.0702 -0.1666)
OKLCHoklch(41.1% 0.181 292.9)
XYZxyz(10.7573, 5.9294, 34.2890)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5328A1 #76A128
analogous
#283AA1 #5328A1 #9028A1
triadic
#5328A1 #A15328 #28A153
tetradic
#5328A1 #A1283A #76A128 #28A190
square
#5328A1 #A1283A #76A128 #28A190
split-complementary
#5328A1 #A19028 #3AA128
monochromatic
#20103F #3A1C70 #5328A1 #6E39CE #916ADA

Accessibility & contrast

On white

9.61
#5328A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5328A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5328A1
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5328A1#FFFFFF#000000##FFFFFF
##5328A11.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#3B4862
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5328a1;
/* rgb */ color: rgb(83, 40, 161);
/* oklch */ color: oklch(41.1% 0.181 292.9);
Tailwind
colors: {
  custom: {
    50: '#8b66be',
    500: '#5328a1',
    950: '#000000',
  },
}
SCSS
$custom: #5328a1;
$custom-light: #8b66be;
$custom-dark: #000000;
JSON
{
  "hex": "#5328a1",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 261.322,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41095,
    "c": 0.1808,
    "h": 292.9
  },
  "luminance": 0.0593
}

Semantic roles & 50–950 ramp

primary
#5328A1
secondary
#A0C065
accent
#E344AB
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5328A1

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

Preview Lab → · Contrast checker → · Palette generator →

#5328A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva