#5320A6#5320A6

#5320A6 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.7% C 0.194 H 292.7°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#5320A6
RGBrgb(83, 32, 166)
HSLhsl(263, 68%, 39%)
HSVhsv(263, 81%, 65%)
CMYKcmyk(50%, 80.7%, 0%, 34.9%)
CIE-LABlab(28.45, 51.83, -62.40)
CIE-LCHlch(28.45, 81.12, 309.71°)
OKLaboklab(40.69% 0.0751 -0.1792)
OKLCHoklch(40.69% 0.194 292.7)
XYZxyz(10.9648, 5.6248, 36.5770)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5320A6 #73A620
analogous
#2030A6 #5320A6 #9620A6
triadic
#5320A6 #A65320 #20A653
tetradic
#5320A6 #A62030 #73A620 #20A696
square
#5320A6 #A62030 #73A620 #20A696
split-complementary
#5320A6 #A69620 #30A620
monochromatic
#200C3F #391673 #5320A6 #6D2DD6 #9160E0

Accessibility & contrast

On white

9.88
#5320A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5320A6
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5320A6#FFFFFF#000000##FFFFFF
##5320A61.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0040A4
Tritanopia (blue-blind)
#384764
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5320a6;
/* rgb */ color: rgb(83, 32, 166);
/* oklch */ color: oklch(40.7% 0.194 292.7);
Tailwind
colors: {
  custom: {
    50: '#8c63c2',
    500: '#5320a6',
    950: '#000000',
  },
}
SCSS
$custom: #5320a6;
$custom-light: #8c63c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5320a6",
  "rgb": {
    "r": 83,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 262.836,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40687,
    "c": 0.19429,
    "h": 292.7
  },
  "luminance": 0.05625
}

Semantic roles & 50–950 ramp

primary
#5320A6
secondary
#9DC55D
accent
#EB3DA9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5320A6

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

Preview Lab → · Contrast checker → · Palette generator →

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