#5620A0#5620A0

#5620A0 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.188 H 295.7°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#5620A0
RGBrgb(86, 32, 160)
HSLhsl(265, 67%, 38%)
HSVhsv(265, 80%, 63%)
CMYKcmyk(46.3%, 80%, 0%, 37.3%)
CIE-LABlab(28.25, 50.70, -59.08)
CIE-LCHlch(28.25, 77.85, 310.63°)
OKLaboklab(40.46% 0.0817 -0.1694)
OKLCHoklch(40.46% 0.188 295.7)
XYZxyz(10.6977, 5.5493, 33.7584)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5620A0 #6AA020
analogous
#202AA0 #5620A0 #9620A0
triadic
#5620A0 #A05620 #20A056
tetradic
#5620A0 #A0202A #6AA020 #20A096
square
#5620A0 #A0202A #6AA020 #20A096
split-complementary
#5620A0 #A09620 #2AA020
monochromatic
#1F0C3A #3B166D #5620A0 #712AD3 #935CDE

Accessibility & contrast

On white

9.95
#5620A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#5620A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5620A0
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5620A0#FFFFFF#000000##FFFFFF
##5620A01.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#414460
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5620a0;
/* rgb */ color: rgb(86, 32, 160);
/* oklch */ color: oklch(40.5% 0.188 295.7);
Tailwind
colors: {
  custom: {
    50: '#8d63bd',
    500: '#5620a0',
    950: '#000000',
  },
}
SCSS
$custom: #5620a0;
$custom-light: #8d63bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5620a0",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 265.313,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40458,
    "c": 0.18803,
    "h": 295.7
  },
  "luminance": 0.0555
}

Semantic roles & 50–950 ramp

primary
#5620A0
secondary
#96C359
accent
#EA3EA1
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5620A0

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

Preview Lab → · Contrast checker → · Palette generator →

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