#5B24BD#5B24BD

#5B24BD is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.1% C 0.215 H 291.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#5B24BD
RGBrgb(91, 36, 189)
HSLhsl(262, 68%, 44%)
HSVhsv(262, 81%, 74%)
CMYKcmyk(51.9%, 81%, 0%, 25.9%)
CIE-LABlab(32.17, 57.24, -69.98)
CIE-LCHlch(32.17, 90.41, 309.28°)
OKLaboklab(44.15% 0.0772 -0.2011)
OKLCHoklch(44.15% 0.215 291)
XYZxyz(14.1279, 7.1594, 48.7717)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B24BD #86BD24
analogous
#2439BD #5B24BD #A824BD
triadic
#5B24BD #BD5B24 #24BD5B
tetradic
#5B24BD #BD2439 #86BD24 #24BDA8
square
#5B24BD #BD2439 #86BD24 #24BDA8
split-complementary
#5B24BD #BDA824 #39BD24
monochromatic
#291056 #421A8A #5B24BD #7A43DB #9E76E5

Accessibility & contrast

On white

8.63
#5B24BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5B24BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B24BD
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B24BD#FFFFFF#000000##FFFFFF
##5B24BD1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#385272
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5b24bd;
/* rgb */ color: rgb(91, 36, 189);
/* oklch */ color: oklch(44.1% 0.215 291.0);
Tailwind
colors: {
  custom: {
    50: '#9467d2',
    500: '#5b24bd',
    950: '#000000',
  },
}
SCSS
$custom: #5b24bd;
$custom-light: #9467d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b24bd",
  "rgb": {
    "r": 91,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 261.569,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44149,
    "c": 0.21544,
    "h": 291
  },
  "luminance": 0.0716
}

Semantic roles & 50–950 ramp

primary
#5B24BD
secondary
#ABCC70
accent
#EB3DAC
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5B24BD

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

Preview Lab → · Contrast checker → · Palette generator →

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