#5620A1#5620A1

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

Color values

HEX#5620A1
RGBrgb(86, 32, 161)
HSLhsl(265, 67%, 38%)
HSVhsv(265, 80%, 63%)
CMYKcmyk(46.6%, 80.1%, 0%, 36.9%)
CIE-LABlab(28.34, 50.95, -59.53)
CIE-LCHlch(28.34, 78.36, 310.56°)
OKLaboklab(40.55% 0.0814 -0.1707)
OKLCHoklch(40.55% 0.189 295.5)
XYZxyz(10.7855, 5.5844, 34.2209)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5620A1 #6BA120
analogous
#202BA1 #5620A1 #9620A1
triadic
#5620A1 #A15620 #20A156
tetradic
#5620A1 #A1202B #6BA120 #20A196
square
#5620A1 #A1202B #6BA120 #20A196
split-complementary
#5620A1 #A19620 #2BA120
monochromatic
#1F0C3B #3B166E #5620A1 #712AD4 #935DDF

Accessibility & contrast

On white

9.92
#5620A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#5620A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5620A1
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5620A1#FFFFFF#000000##FFFFFF
##5620A11.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)
#0044A5
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#404561
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5620a1;
/* rgb */ color: rgb(86, 32, 161);
/* oklch */ color: oklch(40.6% 0.189 295.5);
Tailwind
colors: {
  custom: {
    50: '#8e63be',
    500: '#5620a1',
    950: '#000000',
  },
}
SCSS
$custom: #5620a1;
$custom-light: #8e63be;
$custom-dark: #000000;
JSON
{
  "hex": "#5620a1",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 161
  },
  "hsl": {
    "h": 265.116,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40551,
    "c": 0.1891,
    "h": 295.5
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#5620A1
secondary
#97C35A
accent
#EA3EA2
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5620A1

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

Preview Lab → · Contrast checker → · Palette generator →

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