#5824A1#5824A1

#5824A1 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.185 H 296.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#5824A1
RGBrgb(88, 36, 161)
HSLhsl(265, 63%, 39%)
HSVhsv(265, 78%, 63%)
CMYKcmyk(45.3%, 77.6%, 0%, 36.9%)
CIE-LABlab(29.18, 49.55, -58.14)
CIE-LCHlch(29.18, 76.39, 310.44°)
OKLaboklab(41.2% 0.0813 -0.1666)
OKLCHoklch(41.2% 0.185 296)
XYZxyz(11.0867, 5.9094, 34.2678)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5824A1 #6DA124
analogous
#242EA1 #5824A1 #9624A1
triadic
#5824A1 #A15824 #24A158
tetradic
#5824A1 #A1242E #6DA124 #24A196
square
#5824A1 #A1242E #6DA124 #24A196
split-complementary
#5824A1 #A19624 #2EA124
monochromatic
#210E3D #3D196F #5824A1 #7431D1 #9663DC

Accessibility & contrast

On white

9.62
#5824A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5824A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5824A1
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5824A1#FFFFFF#000000##FFFFFF
##5824A11.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#444662
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5824a1;
/* rgb */ color: rgb(88, 36, 161);
/* oklch */ color: oklch(41.2% 0.185 296.0);
Tailwind
colors: {
  custom: {
    50: '#8f65be',
    500: '#5824a1',
    950: '#000000',
  },
}
SCSS
$custom: #5824a1;
$custom-light: #8f65be;
$custom-dark: #000000;
JSON
{
  "hex": "#5824a1",
  "rgb": {
    "r": 88,
    "g": 36,
    "b": 161
  },
  "hsl": {
    "h": 264.96,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41195,
    "c": 0.18535,
    "h": 296
  },
  "luminance": 0.0591
}

Semantic roles & 50–950 ramp

primary
#5824A1
secondary
#99C25F
accent
#E641A2
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5824A1

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

Preview Lab → · Contrast checker → · Palette generator →

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