#5328AB#5328AB

#5328AB is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.192 H 290.6°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#5328AB
RGBrgb(83, 40, 171)
HSLhsl(260, 62%, 41%)
HSVhsv(260, 77%, 67%)
CMYKcmyk(51.5%, 76.6%, 0%, 32.9%)
CIE-LABlab(30.15, 49.63, -62.62)
CIE-LCHlch(30.15, 79.90, 308.40°)
OKLaboklab(42.02% 0.0676 -0.1799)
OKLCHoklch(42.02% 0.192 290.6)
XYZxyz(11.6746, 6.2964, 39.1204)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5328AB #80AB28
analogous
#283FAB #5328AB #9528AB
triadic
#5328AB #AB5328 #28AB53
tetradic
#5328AB #AB283F #80AB28 #28AB95
square
#5328AB #AB283F #80AB28 #28AB95
split-complementary
#5328AB #AB9528 #3FAB28
monochromatic
#231148 #3B1C79 #5328AB #6F3ED2 #9470DE

Accessibility & contrast

On white

9.29
#5328AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5328AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5328AB
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5328AB#FFFFFF#000000##FFFFFF
##5328AB1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#344C68
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5328ab;
/* rgb */ color: rgb(83, 40, 171);
/* oklch */ color: oklch(42.0% 0.192 290.6);
Tailwind
colors: {
  custom: {
    50: '#8d67c5',
    500: '#5328ab',
    950: '#000000',
  },
}
SCSS
$custom: #5328ab;
$custom-light: #8d67c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5328ab",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 259.695,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42018,
    "c": 0.19218,
    "h": 290.6
  },
  "luminance": 0.06297
}

Semantic roles & 50–950 ramp

primary
#5328AB
secondary
#A7C46A
accent
#E543B0
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5328AB

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

Preview Lab → · Contrast checker → · Palette generator →

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