#5328A5#5328A5

#5328A5 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.185 H 291.9°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#5328A5
RGBrgb(83, 40, 165)
HSLhsl(261, 61%, 40%)
HSVhsv(261, 76%, 65%)
CMYKcmyk(49.7%, 75.8%, 0%, 35.3%)
CIE-LABlab(29.60, 47.98, -59.91)
CIE-LCHlch(29.60, 76.76, 308.69°)
OKLaboklab(41.46% 0.0692 -0.172)
OKLCHoklch(41.46% 0.185 291.9)
XYZxyz(11.1157, 6.0728, 36.1765)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5328A5 #7AA528
analogous
#283BA5 #5328A5 #9128A5
triadic
#5328A5 #A55328 #28A553
tetradic
#5328A5 #A5283B #7AA528 #28A591
square
#5328A5 #A5283B #7AA528 #28A591
split-complementary
#5328A5 #A59128 #3BA528
monochromatic
#211042 #3A1C74 #5328A5 #6E3BCF #926CDB

Accessibility & contrast

On white

9.48
#5328A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5328A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5328A5#FFFFFF#000000##FFFFFF
##5328A51.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#384A65
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5328a5;
/* rgb */ color: rgb(83, 40, 165);
/* oklch */ color: oklch(41.5% 0.185 291.9);
Tailwind
colors: {
  custom: {
    50: '#8c67c1',
    500: '#5328a5',
    950: '#000000',
  },
}
SCSS
$custom: #5328a5;
$custom-light: #8c67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5328a5",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 260.64,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41461,
    "c": 0.18537,
    "h": 291.9
  },
  "luminance": 0.06073
}

Semantic roles & 50–950 ramp

primary
#5328A5
secondary
#A3C267
accent
#E444AD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5328A5

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

Preview Lab → · Contrast checker → · Palette generator →

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