#5924AE#5924AE

#5924AE is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.199 H 293.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#5924AE
RGBrgb(89, 36, 174)
HSLhsl(263, 66%, 41%)
HSVhsv(263, 79%, 68%)
CMYKcmyk(48.9%, 79.3%, 0%, 31.8%)
CIE-LABlab(30.50, 53.08, -63.81)
CIE-LCHlch(30.50, 83.01, 309.76°)
OKLaboklab(42.51% 0.0789 -0.1832)
OKLCHoklch(42.51% 0.199 293.3)
XYZxyz(12.3886, 6.4412, 40.6267)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5924AE #79AE24
analogous
#2434AE #5924AE #9E24AE
triadic
#5924AE #AE5924 #24AE59
tetradic
#5924AE #AE2434 #79AE24 #24AE9E
square
#5924AE #AE2434 #79AE24 #24AE9E
split-complementary
#5924AE #AE9E24 #34AE24
monochromatic
#250F49 #3F1A7B #5924AE #7539D6 #996CE1

Accessibility & contrast

On white

9.18
#5924AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5924AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5924AE
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5924AE#FFFFFF#000000##FFFFFF
##5924AE1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0045AB
Tritanopia (blue-blind)
#3E4B69
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5924ae;
/* rgb */ color: rgb(89, 36, 174);
/* oklch */ color: oklch(42.5% 0.199 293.3);
Tailwind
colors: {
  custom: {
    50: '#9166c7',
    500: '#5924ae',
    950: '#000000',
  },
}
SCSS
$custom: #5924ae;
$custom-light: #9166c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5924ae",
  "rgb": {
    "r": 89,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 263.043,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42506,
    "c": 0.19946,
    "h": 293.3
  },
  "luminance": 0.06442
}

Semantic roles & 50–950 ramp

primary
#5924AE
secondary
#A2C767
accent
#E93FA8
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5924AE

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

Preview Lab → · Contrast checker → · Palette generator →

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