#5328A7#5328A7

#5328A7 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.188 H 291.5°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#5328A7
RGBrgb(83, 40, 167)
HSLhsl(260, 61%, 41%)
HSVhsv(260, 76%, 65%)
CMYKcmyk(50.3%, 76%, 0%, 34.5%)
CIE-LABlab(29.78, 48.53, -60.82)
CIE-LCHlch(29.78, 77.81, 308.59°)
OKLaboklab(41.65% 0.0687 -0.1746)
OKLCHoklch(41.65% 0.188 291.5)
XYZxyz(11.2991, 6.1462, 37.1427)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5328A7 #7CA728
analogous
#283CA7 #5328A7 #9228A7
triadic
#5328A7 #A75328 #28A753
tetradic
#5328A7 #A7283C #7CA728 #28A792
square
#5328A7 #A7283C #7CA728 #28A792
split-complementary
#5328A7 #A79228 #3CA728
monochromatic
#221044 #3A1C76 #5328A7 #6E3CD0 #936DDC

Accessibility & contrast

On white

9.42
#5328A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5328A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5328A7#FFFFFF#000000##FFFFFF
##5328A71.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#0043A5
Tritanopia (blue-blind)
#374B66
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5328a7;
/* rgb */ color: rgb(83, 40, 167);
/* oklch */ color: oklch(41.6% 0.188 291.5);
Tailwind
colors: {
  custom: {
    50: '#8c67c2',
    500: '#5328a7',
    950: '#000000',
  },
}
SCSS
$custom: #5328a7;
$custom-light: #8c67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5328a7",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 260.315,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41645,
    "c": 0.18765,
    "h": 291.5
  },
  "luminance": 0.06147
}

Semantic roles & 50–950 ramp

primary
#5328A7
secondary
#A4C368
accent
#E443AE
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5328A7

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

Preview Lab → · Contrast checker → · Palette generator →

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