#5320A9#5320A9

#5320A9 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.0% C 0.198 H 292.0°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#5320A9
RGBrgb(83, 32, 169)
HSLhsl(262, 68%, 39%)
HSVhsv(262, 81%, 66%)
CMYKcmyk(50.9%, 81.1%, 0%, 33.7%)
CIE-LABlab(28.74, 52.61, -63.73)
CIE-LCHlch(28.74, 82.64, 309.54°)
OKLaboklab(40.98% 0.0741 -0.1831)
OKLCHoklch(40.98% 0.198 292)
XYZxyz(11.2432, 5.7362, 38.0432)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5320A9 #76A920
analogous
#2031A9 #5320A9 #9820A9
triadic
#5320A9 #A95320 #20A953
tetradic
#5320A9 #A92031 #76A920 #20A998
square
#5320A9 #A92031 #76A920 #20A998
split-complementary
#5320A9 #A99820 #31A920
monochromatic
#200D42 #3A1676 #5320A9 #6E2FD8 #9162E1

Accessibility & contrast

On white

9.78
#5320A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#5320A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5320A9
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5320A9#FFFFFF#000000##FFFFFF
##5320A91.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#0041A7
Tritanopia (blue-blind)
#364865
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5320a9;
/* rgb */ color: rgb(83, 32, 169);
/* oklch */ color: oklch(41.0% 0.198 292.0);
Tailwind
colors: {
  custom: {
    50: '#8d63c4',
    500: '#5320a9',
    950: '#000000',
  },
}
SCSS
$custom: #5320a9;
$custom-light: #8d63c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5320a9",
  "rgb": {
    "r": 83,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 262.336,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40977,
    "c": 0.19751,
    "h": 292
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#5320A9
secondary
#A0C65F
accent
#EB3DAA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5320A9

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

Preview Lab → · Contrast checker → · Palette generator →

#5320A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva