#5328AE#5328AE

#5328AE is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.196 H 290.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#5328AE
RGBrgb(83, 40, 174)
HSLhsl(259, 63%, 42%)
HSVhsv(259, 77%, 68%)
CMYKcmyk(52.3%, 77%, 0%, 31.8%)
CIE-LABlab(30.43, 50.46, -63.95)
CIE-LCHlch(30.43, 81.46, 308.27°)
OKLaboklab(42.3% 0.0668 -0.1838)
OKLCHoklch(42.3% 0.196 290)
XYZxyz(11.9638, 6.4120, 40.6435)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5328AE #83AE28
analogous
#2840AE #5328AE #9628AE
triadic
#5328AE #AE5328 #28AE53
tetradic
#5328AE #AE2840 #83AE28 #28AE96
square
#5328AE #AE2840 #83AE28 #28AE96
split-complementary
#5328AE #AE9628 #40AE28
monochromatic
#24114A #3B1D7C #5328AE #6F40D3 #9572DF

Accessibility & contrast

On white

9.20
#5328AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5328AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5328AE
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5328AE#FFFFFF#000000##FFFFFF
##5328AE1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#324E6A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5328ae;
/* rgb */ color: rgb(83, 40, 174);
/* oklch */ color: oklch(42.3% 0.196 290.0);
Tailwind
colors: {
  custom: {
    50: '#8d67c7',
    500: '#5328ae',
    950: '#000000',
  },
}
SCSS
$custom: #5328ae;
$custom-light: #8d67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5328ae",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 259.254,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.423,
    "c": 0.19557,
    "h": 290
  },
  "luminance": 0.06413
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5328AE

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

Preview Lab → · Contrast checker → · Palette generator →

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