#5924A8#5924A8

#5924A8 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.193 H 294.7°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#5924A8
RGBrgb(89, 36, 168)
HSLhsl(264, 65%, 40%)
HSVhsv(264, 79%, 66%)
CMYKcmyk(47%, 78.6%, 0%, 34.1%)
CIE-LABlab(29.94, 51.52, -61.12)
CIE-LCHlch(29.94, 79.94, 310.13°)
OKLaboklab(41.95% 0.0808 -0.1753)
OKLCHoklch(41.95% 0.193 294.7)
XYZxyz(11.8167, 6.2124, 37.6147)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5924A8 #73A824
analogous
#2431A8 #5924A8 #9B24A8
triadic
#5924A8 #A85924 #24A859
tetradic
#5924A8 #A82431 #73A824 #24A89B
square
#5924A8 #A82431 #73A824 #24A89B
split-complementary
#5924A8 #A89B24 #31A824
monochromatic
#240E43 #3E1976 #5924A8 #7535D4 #9868DF

Accessibility & contrast

On white

9.36
#5924A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5924A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5924A8
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5924A8#FFFFFF#000000##FFFFFF
##5924A81.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#424966
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5924a8;
/* rgb */ color: rgb(89, 36, 168);
/* oklch */ color: oklch(41.9% 0.193 294.7);
Tailwind
colors: {
  custom: {
    50: '#9065c3',
    500: '#5924a8',
    950: '#000000',
  },
}
SCSS
$custom: #5924a8;
$custom-light: #9065c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5924a8",
  "rgb": {
    "r": 89,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 264.091,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.41948,
    "c": 0.193,
    "h": 294.7
  },
  "luminance": 0.06213
}

Semantic roles & 50–950 ramp

primary
#5924A8
secondary
#9DC463
accent
#E840A4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5924A8

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

Preview Lab → · Contrast checker → · Palette generator →

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