#5824A7#5824A7

#5824A7 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.192 H 294.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#5824A7
RGBrgb(88, 36, 167)
HSLhsl(264, 65%, 40%)
HSVhsv(264, 78%, 65%)
CMYKcmyk(47.3%, 78.4%, 0%, 34.5%)
CIE-LABlab(29.73, 51.11, -60.88)
CIE-LCHlch(29.73, 79.49, 310.02°)
OKLaboklab(41.74% 0.0795 -0.1746)
OKLCHoklch(41.74% 0.192 294.5)
XYZxyz(11.6285, 6.1261, 37.1215)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5824A7 #73A724
analogous
#2431A7 #5824A7 #9A24A7
triadic
#5824A7 #A75824 #24A758
tetradic
#5824A7 #A72431 #73A724 #24A79A
square
#5824A7 #A72431 #73A724 #24A79A
split-complementary
#5824A7 #A79A24 #31A724
monochromatic
#230E42 #3D1975 #5824A7 #7435D3 #9667DE

Accessibility & contrast

On white

9.44
#5824A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5824A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5824A7
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5824A7#FFFFFF#000000##FFFFFF
##5824A71.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#414965
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5824a7;
/* rgb */ color: rgb(88, 36, 167);
/* oklch */ color: oklch(41.7% 0.192 294.5);
Tailwind
colors: {
  custom: {
    50: '#8f65c2',
    500: '#5824a7',
    950: '#000000',
  },
}
SCSS
$custom: #5824a7;
$custom-light: #8f65c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5824a7",
  "rgb": {
    "r": 88,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 263.817,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41744,
    "c": 0.19186,
    "h": 294.5
  },
  "luminance": 0.06126
}

Semantic roles & 50–950 ramp

primary
#5824A7
secondary
#9DC463
accent
#E840A5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5824A7

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

Preview Lab → · Contrast checker → · Palette generator →

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