#5328AA#5328AA

#5328AA is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.191 H 290.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#5328AA
RGBrgb(83, 40, 170)
HSLhsl(260, 62%, 41%)
HSVhsv(260, 76%, 67%)
CMYKcmyk(51.2%, 76.5%, 0%, 33.3%)
CIE-LABlab(30.06, 49.36, -62.17)
CIE-LCHlch(30.06, 79.38, 308.45°)
OKLaboklab(41.92% 0.0679 -0.1786)
OKLCHoklch(41.92% 0.191 290.8)
XYZxyz(11.5797, 6.2584, 38.6203)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5328AA #7FAA28
analogous
#283EAA #5328AA #9428AA
triadic
#5328AA #AA5328 #28AA53
tetradic
#5328AA #AA283E #7FAA28 #28AA94
square
#5328AA #AA283E #7FAA28 #28AA94
split-complementary
#5328AA #AA9428 #3EAA28
monochromatic
#231147 #3B1C78 #5328AA #6F3ED2 #946FDD

Accessibility & contrast

On white

9.33
#5328AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5328AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5328AA#FFFFFF#000000##FFFFFF
##5328AA1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#354C68
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5328aa;
/* rgb */ color: rgb(83, 40, 170);
/* oklch */ color: oklch(41.9% 0.191 290.8);
Tailwind
colors: {
  custom: {
    50: '#8c67c4',
    500: '#5328aa',
    950: '#000000',
  },
}
SCSS
$custom: #5328aa;
$custom-light: #8c67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5328aa",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 259.846,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41924,
    "c": 0.19105,
    "h": 290.8
  },
  "luminance": 0.06259
}

Semantic roles & 50–950 ramp

primary
#5328AA
secondary
#A6C46A
accent
#E543AF
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5328AA

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

Preview Lab → · Contrast checker → · Palette generator →

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