#5B24B0#5B24B0

#5B24B0 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.9% C 0.202 H 293.8°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#5B24B0
RGBrgb(91, 36, 176)
HSLhsl(264, 66%, 42%)
HSVhsv(264, 80%, 69%)
CMYKcmyk(48.3%, 79.5%, 0%, 31%)
CIE-LABlab(30.93, 53.88, -64.30)
CIE-LCHlch(30.93, 83.89, 309.96°)
OKLaboklab(42.91% 0.0814 -0.1845)
OKLCHoklch(42.91% 0.202 293.8)
XYZxyz(12.7796, 6.6201, 41.6703)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B24B0 #79B024
analogous
#2433B0 #5B24B0 #A124B0
triadic
#5B24B0 #B05B24 #24B05B
tetradic
#5B24B0 #B02433 #79B024 #24B0A1
square
#5B24B0 #B02433 #79B024 #24B0A1
split-complementary
#5B24B0 #B0A124 #33B024
monochromatic
#260F4A #411A7D #5B24B0 #783AD7 #9B6DE1

Accessibility & contrast

On white

9.04
#5B24B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#5B24B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B24B0
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B24B0#FFFFFF#000000##FFFFFF
##5B24B01.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#414C6A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5b24b0;
/* rgb */ color: rgb(91, 36, 176);
/* oklch */ color: oklch(42.9% 0.202 293.8);
Tailwind
colors: {
  custom: {
    50: '#9266c9',
    500: '#5b24b0',
    950: '#000000',
  },
}
SCSS
$custom: #5b24b0;
$custom-light: #9266c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b24b0",
  "rgb": {
    "r": 91,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 263.571,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42913,
    "c": 0.20168,
    "h": 293.8
  },
  "luminance": 0.0662
}

Semantic roles & 50–950 ramp

primary
#5B24B0
secondary
#A2C868
accent
#E93FA6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5B24B0

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

Preview Lab → · Contrast checker → · Palette generator →

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