#5624A8#5624A8

#5624A8 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.193 H 293.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#5624A8
RGBrgb(86, 36, 168)
HSLhsl(263, 65%, 40%)
HSVhsv(263, 79%, 66%)
CMYKcmyk(48.8%, 78.6%, 0%, 34.1%)
CIE-LABlab(29.58, 51.08, -61.73)
CIE-LCHlch(29.58, 80.12, 309.61°)
OKLaboklab(41.62% 0.0762 -0.1772)
OKLCHoklch(41.62% 0.193 293.3)
XYZxyz(11.5345, 6.0670, 37.6015)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5624A8 #76A824
analogous
#2434A8 #5624A8 #9824A8
triadic
#5624A8 #A85624 #24A856
tetradic
#5624A8 #A82434 #76A824 #24A898
square
#5624A8 #A82434 #76A824 #24A898
split-complementary
#5624A8 #A89824 #34A824
monochromatic
#220E43 #3C1976 #5624A8 #7135D4 #9568DF

Accessibility & contrast

On white

9.49
#5624A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5624A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5624A8
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5624A8#FFFFFF#000000##FFFFFF
##5624A81.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#0043A6
Tritanopia (blue-blind)
#3C4966
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5624a8;
/* rgb */ color: rgb(86, 36, 168);
/* oklch */ color: oklch(41.6% 0.193 293.3);
Tailwind
colors: {
  custom: {
    50: '#8e65c3',
    500: '#5624a8',
    950: '#000000',
  },
}
SCSS
$custom: #5624a8;
$custom-light: #8e65c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5624a8",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 262.727,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.41615,
    "c": 0.19285,
    "h": 293.3
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

primary
#5624A8
secondary
#A0C463
accent
#E840A8
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5624A8

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

Preview Lab → · Contrast checker → · Palette generator →

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