#5B24BC#5B24BC

#5B24BC is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.1% C 0.214 H 291.2°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#5B24BC
RGBrgb(91, 36, 188)
HSLhsl(262, 68%, 44%)
HSVhsv(262, 81%, 74%)
CMYKcmyk(51.6%, 80.9%, 0%, 26.3%)
CIE-LABlab(32.07, 56.98, -69.55)
CIE-LCHlch(32.07, 89.91, 309.33°)
OKLaboklab(44.05% 0.0775 -0.1999)
OKLCHoklch(44.05% 0.214 291.2)
XYZxyz(14.0198, 7.1162, 48.2020)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B24BC #85BC24
analogous
#2439BC #5B24BC #A724BC
triadic
#5B24BC #BC5B24 #24BC5B
tetradic
#5B24BC #BC2439 #85BC24 #24BCA7
square
#5B24BC #BC2439 #85BC24 #24BCA7
split-complementary
#5B24BC #BCA724 #39BC24
monochromatic
#291055 #421A89 #5B24BC #7A42DB #9E76E5

Accessibility & contrast

On white

8.67
#5B24BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5B24BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B24BC
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B24BC#FFFFFF#000000##FFFFFF
##5B24BC1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0048B9
Tritanopia (blue-blind)
#385171
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5b24bc;
/* rgb */ color: rgb(91, 36, 188);
/* oklch */ color: oklch(44.1% 0.214 291.2);
Tailwind
colors: {
  custom: {
    50: '#9467d1',
    500: '#5b24bc',
    950: '#000000',
  },
}
SCSS
$custom: #5b24bc;
$custom-light: #9467d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b24bc",
  "rgb": {
    "r": 91,
    "g": 36,
    "b": 188
  },
  "hsl": {
    "h": 261.711,
    "s": 67.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44053,
    "c": 0.21438,
    "h": 291.2
  },
  "luminance": 0.07117
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B24BC

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

Preview Lab → · Contrast checker → · Palette generator →

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