#5924A1#5924A1

#5924A1 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.185 H 296.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#5924A1
RGBrgb(89, 36, 161)
HSLhsl(265, 63%, 39%)
HSVhsv(265, 78%, 63%)
CMYKcmyk(44.7%, 77.6%, 0%, 36.9%)
CIE-LABlab(29.31, 49.71, -57.93)
CIE-LCHlch(29.31, 76.33, 310.63°)
OKLaboklab(41.31% 0.0828 -0.1659)
OKLCHoklch(41.31% 0.185 296.5)
XYZxyz(11.1820, 5.9586, 34.2723)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5924A1 #6CA124
analogous
#242DA1 #5924A1 #9724A1
triadic
#5924A1 #A15924 #24A159
tetradic
#5924A1 #A1242D #6CA124 #24A197
square
#5924A1 #A1242D #6CA124 #24A197
split-complementary
#5924A1 #A19724 #2DA124
monochromatic
#220E3D #3D196F #5924A1 #7531D1 #9763DC

Accessibility & contrast

On white

9.58
#5924A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5924A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5924A1
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5924A1#FFFFFF#000000##FFFFFF
##5924A11.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5924a1;
/* rgb */ color: rgb(89, 36, 161);
/* oklch */ color: oklch(41.3% 0.185 296.5);
Tailwind
colors: {
  custom: {
    50: '#8f65be',
    500: '#5924a1',
    950: '#000000',
  },
}
SCSS
$custom: #5924a1;
$custom-light: #8f65be;
$custom-dark: #000000;
JSON
{
  "hex": "#5924a1",
  "rgb": {
    "r": 89,
    "g": 36,
    "b": 161
  },
  "hsl": {
    "h": 265.44,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41311,
    "c": 0.18544,
    "h": 296.5
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#5924A1
secondary
#98C25F
accent
#E641A0
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5924A1

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

Preview Lab → · Contrast checker → · Palette generator →

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