#5B24AE#5B24AE

#5B24AE is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.200 H 294.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#5B24AE
RGBrgb(91, 36, 174)
HSLhsl(264, 66%, 41%)
HSVhsv(264, 79%, 68%)
CMYKcmyk(47.7%, 79.3%, 0%, 31.8%)
CIE-LABlab(30.74, 53.37, -63.41)
CIE-LCHlch(30.74, 82.88, 310.09°)
OKLaboklab(42.73% 0.082 -0.1819)
OKLCHoklch(42.73% 0.2 294.3)
XYZxyz(12.5831, 6.5415, 40.6358)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B24AE #77AE24
analogous
#2432AE #5B24AE #A024AE
triadic
#5B24AE #AE5B24 #24AE5B
tetradic
#5B24AE #AE2432 #77AE24 #24AEA0
square
#5B24AE #AE2432 #77AE24 #24AEA0
split-complementary
#5B24AE #AEA024 #32AE24
monochromatic
#260F49 #401A7B #5B24AE #7839D6 #9A6CE1

Accessibility & contrast

On white

9.10
#5B24AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5B24AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B24AE
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B24AE#FFFFFF#000000##FFFFFF
##5B24AE1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0046AB
Tritanopia (blue-blind)
#424B69
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5b24ae;
/* rgb */ color: rgb(91, 36, 174);
/* oklch */ color: oklch(42.7% 0.200 294.3);
Tailwind
colors: {
  custom: {
    50: '#9266c7',
    500: '#5b24ae',
    950: '#000000',
  },
}
SCSS
$custom: #5b24ae;
$custom-light: #9266c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b24ae",
  "rgb": {
    "r": 91,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 263.913,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42727,
    "c": 0.19955,
    "h": 294.3
  },
  "luminance": 0.06542
}

Semantic roles & 50–950 ramp

primary
#5B24AE
secondary
#A1C767
accent
#E93FA5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5B24AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5B24AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva