#5624AE#5624AE

#5624AE is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.199 H 291.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#5624AE
RGBrgb(86, 36, 174)
HSLhsl(262, 66%, 41%)
HSVhsv(262, 79%, 68%)
CMYKcmyk(50.6%, 79.3%, 0%, 31.8%)
CIE-LABlab(30.15, 52.66, -64.41)
CIE-LCHlch(30.15, 83.20, 309.27°)
OKLaboklab(42.18% 0.0743 -0.185)
OKLCHoklch(42.18% 0.199 291.9)
XYZxyz(12.1064, 6.2957, 40.6135)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5624AE #7CAE24
analogous
#2437AE #5624AE #9B24AE
triadic
#5624AE #AE5624 #24AE56
tetradic
#5624AE #AE2437 #7CAE24 #24AE9B
square
#5624AE #AE2437 #7CAE24 #24AE9B
split-complementary
#5624AE #AE9B24 #37AE24
monochromatic
#240F49 #3D1A7B #5624AE #7239D6 #966CE1

Accessibility & contrast

On white

9.30
#5624AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5624AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5624AE
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5624AE#FFFFFF#000000##FFFFFF
##5624AE1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#384C69
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5624ae;
/* rgb */ color: rgb(86, 36, 174);
/* oklch */ color: oklch(42.2% 0.199 291.9);
Tailwind
colors: {
  custom: {
    50: '#8f65c7',
    500: '#5624ae',
    950: '#000000',
  },
}
SCSS
$custom: #5624ae;
$custom-light: #8f65c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5624ae",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 261.739,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42181,
    "c": 0.19937,
    "h": 291.9
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#5624AE
secondary
#A4C767
accent
#E93FAB
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5624AE

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

Preview Lab → · Contrast checker → · Palette generator →

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