#5320A7#5320A7

#5320A7 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.195 H 292.5°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#5320A7
RGBrgb(83, 32, 167)
HSLhsl(263, 68%, 39%)
HSVhsv(263, 81%, 65%)
CMYKcmyk(50.3%, 80.8%, 0%, 34.5%)
CIE-LABlab(28.54, 52.09, -62.85)
CIE-LCHlch(28.54, 81.63, 309.65°)
OKLaboklab(40.78% 0.0748 -0.1805)
OKLCHoklch(40.78% 0.195 292.5)
XYZxyz(11.0569, 5.6616, 37.0619)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5320A7 #74A720
analogous
#2030A7 #5320A7 #9720A7
triadic
#5320A7 #A75320 #20A753
tetradic
#5320A7 #A72030 #74A720 #20A797
square
#5320A7 #A72030 #74A720 #20A797
split-complementary
#5320A7 #A79720 #30A720
monochromatic
#200C40 #391674 #5320A7 #6D2DD7 #9161E1

Accessibility & contrast

On white

9.85
#5320A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#5320A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5320A7
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5320A7#FFFFFF#000000##FFFFFF
##5320A71.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0041A5
Tritanopia (blue-blind)
#374764
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5320a7;
/* rgb */ color: rgb(83, 32, 167);
/* oklch */ color: oklch(40.8% 0.195 292.5);
Tailwind
colors: {
  custom: {
    50: '#8d63c2',
    500: '#5320a7',
    950: '#000000',
  },
}
SCSS
$custom: #5320a7;
$custom-light: #8d63c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5320a7",
  "rgb": {
    "r": 83,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 262.667,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40783,
    "c": 0.19537,
    "h": 292.5
  },
  "luminance": 0.05662
}

Semantic roles & 50–950 ramp

primary
#5320A7
secondary
#9EC55D
accent
#EB3DA9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5320A7

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

Preview Lab → · Contrast checker → · Palette generator →

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