#5328AD#5328AD

#5328AD is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.194 H 290.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#5328AD
RGBrgb(83, 40, 173)
HSLhsl(259, 62%, 42%)
HSVhsv(259, 77%, 68%)
CMYKcmyk(52%, 76.9%, 0%, 32.2%)
CIE-LABlab(30.34, 50.18, -63.51)
CIE-LCHlch(30.34, 80.94, 308.31°)
OKLaboklab(42.21% 0.067 -0.1825)
OKLCHoklch(42.21% 0.194 290.2)
XYZxyz(11.8667, 6.3732, 40.1319)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5328AD #82AD28
analogous
#2840AD #5328AD #9528AD
triadic
#5328AD #AD5328 #28AD53
tetradic
#5328AD #AD2840 #82AD28 #28AD95
square
#5328AD #AD2840 #82AD28 #28AD95
split-complementary
#5328AD #AD9528 #40AD28
monochromatic
#23114A #3B1D7B #5328AD #6F3FD3 #9471DE

Accessibility & contrast

On white

9.23
#5328AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5328AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5328AD
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5328AD#FFFFFF#000000##FFFFFF
##5328AD1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB1
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#324D69
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5328ad;
/* rgb */ color: rgb(83, 40, 173);
/* oklch */ color: oklch(42.2% 0.194 290.2);
Tailwind
colors: {
  custom: {
    50: '#8d67c7',
    500: '#5328ad',
    950: '#000000',
  },
}
SCSS
$custom: #5328ad;
$custom-light: #8d67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5328ad",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 259.398,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42205,
    "c": 0.19443,
    "h": 290.2
  },
  "luminance": 0.06374
}

Semantic roles & 50–950 ramp

primary
#5328AD
secondary
#A8C56C
accent
#E642B1
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5328AD

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

Preview Lab → · Contrast checker → · Palette generator →

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