#5320A5#5320A5

#5320A5 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.193 H 293.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#5320A5
RGBrgb(83, 32, 165)
HSLhsl(263, 68%, 39%)
HSVhsv(263, 81%, 65%)
CMYKcmyk(49.7%, 80.6%, 0%, 35.3%)
CIE-LABlab(28.35, 51.56, -61.95)
CIE-LCHlch(28.35, 80.61, 309.77°)
OKLaboklab(40.59% 0.0754 -0.1779)
OKLCHoklch(40.59% 0.193 293)
XYZxyz(10.8734, 5.5883, 36.0957)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5320A5 #72A520
analogous
#202FA5 #5320A5 #9520A5
triadic
#5320A5 #A55320 #20A553
tetradic
#5320A5 #A5202F #72A520 #20A595
square
#5320A5 #A5202F #72A520 #20A595
split-complementary
#5320A5 #A59520 #2FA520
monochromatic
#1F0C3E #391672 #5320A5 #6D2CD6 #915FE0

Accessibility & contrast

On white

9.92
#5320A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#5320A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5320A5
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5320A5#FFFFFF#000000##FFFFFF
##5320A51.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#394763
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5320a5;
/* rgb */ color: rgb(83, 32, 165);
/* oklch */ color: oklch(40.6% 0.193 293.0);
Tailwind
colors: {
  custom: {
    50: '#8c63c1',
    500: '#5320a5',
    950: '#000000',
  },
}
SCSS
$custom: #5320a5;
$custom-light: #8c63c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5320a5",
  "rgb": {
    "r": 83,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 263.008,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40591,
    "c": 0.19321,
    "h": 293
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#5320A5
secondary
#9DC55C
accent
#EA3DA8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5320A5

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

Preview Lab → · Contrast checker → · Palette generator →

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