#5620A7#5620A7

#5620A7 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.195 H 294.0°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#5620A7
RGBrgb(86, 32, 167)
HSLhsl(264, 68%, 39%)
HSVhsv(264, 81%, 65%)
CMYKcmyk(48.5%, 80.8%, 0%, 34.5%)
CIE-LABlab(28.91, 52.50, -62.24)
CIE-LCHlch(28.91, 81.42, 310.15°)
OKLaboklab(41.12% 0.0794 -0.1786)
OKLCHoklch(41.12% 0.195 294)
XYZxyz(11.3274, 5.8011, 37.0746)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5620A7 #71A720
analogous
#202EA7 #5620A7 #9A20A7
triadic
#5620A7 #A75620 #20A756
tetradic
#5620A7 #A7202E #71A720 #20A79A
square
#5620A7 #A7202E #71A720 #20A79A
split-complementary
#5620A7 #A79A20 #2EA720
monochromatic
#210C40 #3C1674 #5620A7 #712DD7 #9461E1

Accessibility & contrast

On white

9.72
#5620A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#5620A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5620A7
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5620A7#FFFFFF#000000##FFFFFF
##5620A71.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#3D4764
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5620a7;
/* rgb */ color: rgb(86, 32, 167);
/* oklch */ color: oklch(41.1% 0.195 294.0);
Tailwind
colors: {
  custom: {
    50: '#8e63c2',
    500: '#5620a7',
    950: '#000000',
  },
}
SCSS
$custom: #5620a7;
$custom-light: #8e63c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5620a7",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 264,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41116,
    "c": 0.19548,
    "h": 294
  },
  "luminance": 0.05801
}

Semantic roles & 50–950 ramp

primary
#5620A7
secondary
#9CC55D
accent
#EB3DA5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5620A7

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

Preview Lab → · Contrast checker → · Palette generator →

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