#5D24BC#5D24BC

#5D24BC is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.3% C 0.214 H 292.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#5D24BC
RGBrgb(93, 36, 188)
HSLhsl(263, 68%, 44%)
HSVhsv(263, 81%, 74%)
CMYKcmyk(50.5%, 80.9%, 0%, 26.3%)
CIE-LABlab(32.30, 57.24, -69.16)
CIE-LCHlch(32.30, 89.77, 309.61°)
OKLaboklab(44.27% 0.0806 -0.1987)
OKLCHoklch(44.27% 0.214 292.1)
XYZxyz(14.2196, 7.2192, 48.2114)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D24BC #83BC24
analogous
#2437BC #5D24BC #A924BC
triadic
#5D24BC #BC5D24 #24BC5D
tetradic
#5D24BC #BC2437 #83BC24 #24BCA9
square
#5D24BC #BC2437 #83BC24 #24BCA9
split-complementary
#5D24BC #BCA924 #37BC24
monochromatic
#2A1055 #441A89 #5D24BC #7C42DB #9F76E5

Accessibility & contrast

On white

8.59
#5D24BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5D24BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D24BC
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D24BC#FFFFFF#000000##FFFFFF
##5D24BC1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0049B9
Tritanopia (blue-blind)
#3D5171
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5d24bc;
/* rgb */ color: rgb(93, 36, 188);
/* oklch */ color: oklch(44.3% 0.214 292.1);
Tailwind
colors: {
  custom: {
    50: '#9567d1',
    500: '#5d24bc',
    950: '#000000',
  },
}
SCSS
$custom: #5d24bc;
$custom-light: #9567d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d24bc",
  "rgb": {
    "r": 93,
    "g": 36,
    "b": 188
  },
  "hsl": {
    "h": 262.5,
    "s": 67.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44265,
    "c": 0.2144,
    "h": 292.1
  },
  "luminance": 0.0722
}

Semantic roles & 50–950 ramp

primary
#5D24BC
secondary
#A9CC70
accent
#EB3DAA
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5D24BC

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

Preview Lab → · Contrast checker → · Palette generator →

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