#5624A1#5624A1

#5624A1 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.185 H 295.0°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#5624A1
RGBrgb(86, 36, 161)
HSLhsl(264, 63%, 39%)
HSVhsv(264, 78%, 63%)
CMYKcmyk(46.6%, 77.6%, 0%, 36.9%)
CIE-LABlab(28.94, 49.23, -58.55)
CIE-LCHlch(28.94, 76.50, 310.06°)
OKLaboklab(40.97% 0.0782 -0.1679)
OKLCHoklch(40.97% 0.185 295)
XYZxyz(10.8999, 5.8131, 34.2590)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5624A1 #6FA124
analogous
#2430A1 #5624A1 #9424A1
triadic
#5624A1 #A15624 #24A156
tetradic
#5624A1 #A12430 #6FA124 #24A194
square
#5624A1 #A12430 #6FA124 #24A194
split-complementary
#5624A1 #A19424 #30A124
monochromatic
#210E3D #3B196F #5624A1 #7131D1 #9463DC

Accessibility & contrast

On white

9.71
#5624A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#5624A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5624A1
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5624A1#FFFFFF#000000##FFFFFF
##5624A11.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#404662
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5624a1;
/* rgb */ color: rgb(86, 36, 161);
/* oklch */ color: oklch(41.0% 0.185 295.0);
Tailwind
colors: {
  custom: {
    50: '#8d65be',
    500: '#5624a1',
    950: '#000000',
  },
}
SCSS
$custom: #5624a1;
$custom-light: #8d65be;
$custom-dark: #000000;
JSON
{
  "hex": "#5624a1",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 161
  },
  "hsl": {
    "h": 264,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40967,
    "c": 0.18519,
    "h": 295
  },
  "luminance": 0.05813
}

Semantic roles & 50–950 ramp

primary
#5624A1
secondary
#9AC25F
accent
#E641A4
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5624A1

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

Preview Lab → · Contrast checker → · Palette generator →

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