#5328A2#5328A2

#5328A2 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.182 H 292.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#5328A2
RGBrgb(83, 40, 162)
HSLhsl(261, 60%, 40%)
HSVhsv(261, 75%, 64%)
CMYKcmyk(48.8%, 75.3%, 0%, 36.5%)
CIE-LABlab(29.32, 47.16, -58.54)
CIE-LCHlch(29.32, 75.17, 308.85°)
OKLaboklab(41.19% 0.07 -0.1679)
OKLCHoklch(41.19% 0.182 292.6)
XYZxyz(10.8458, 5.9648, 34.7553)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5328A2 #77A228
analogous
#283AA2 #5328A2 #9028A2
triadic
#5328A2 #A25328 #28A253
tetradic
#5328A2 #A2283A #77A228 #28A290
square
#5328A2 #A2283A #77A228 #28A290
split-complementary
#5328A2 #A29028 #3AA228
monochromatic
#211040 #3A1C71 #5328A2 #6E39CE #926ADA

Accessibility & contrast

On white

9.58
#5328A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5328A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5328A2#FFFFFF#000000##FFFFFF
##5328A21.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#3A4963
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5328a2;
/* rgb */ color: rgb(83, 40, 162);
/* oklch */ color: oklch(41.2% 0.182 292.6);
Tailwind
colors: {
  custom: {
    50: '#8b66bf',
    500: '#5328a2',
    950: '#000000',
  },
}
SCSS
$custom: #5328a2;
$custom-light: #8b66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5328a2",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 261.148,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41186,
    "c": 0.18195,
    "h": 292.6
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#5328A2
secondary
#A0C165
accent
#E444AB
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5328A2

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

Preview Lab → · Contrast checker → · Palette generator →

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