#5C24BD#5C24BD

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

Color values

HEX#5C24BD
RGBrgb(92, 36, 189)
HSLhsl(262, 68%, 44%)
HSVhsv(262, 81%, 74%)
CMYKcmyk(51.3%, 81%, 0%, 25.9%)
CIE-LABlab(32.28, 57.37, -69.79)
CIE-LCHlch(32.28, 90.34, 309.42°)
OKLaboklab(44.25% 0.0787 -0.2006)
OKLCHoklch(44.25% 0.215 291.4)
XYZxyz(14.2272, 7.2106, 48.7764)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C24BD #85BD24
analogous
#2438BD #5C24BD #A924BD
triadic
#5C24BD #BD5C24 #24BD5C
tetradic
#5C24BD #BD2438 #85BD24 #24BDA9
square
#5C24BD #BD2438 #85BD24 #24BDA9
split-complementary
#5C24BD #BDA924 #38BD24
monochromatic
#2A1056 #431A8A #5C24BD #7B43DB #9F76E5

Accessibility & contrast

On white

8.60
#5C24BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C24BD
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C24BD#FFFFFF#000000##FFFFFF
##5C24BD1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#0049BA
Tritanopia (blue-blind)
#3A5172
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5c24bd;
/* rgb */ color: rgb(92, 36, 189);
/* oklch */ color: oklch(44.3% 0.215 291.4);
Tailwind
colors: {
  custom: {
    50: '#9567d2',
    500: '#5c24bd',
    950: '#000000',
  },
}
SCSS
$custom: #5c24bd;
$custom-light: #9567d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c24bd",
  "rgb": {
    "r": 92,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 261.961,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44254,
    "c": 0.21545,
    "h": 291.4
  },
  "luminance": 0.07211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C24BD

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

Preview Lab → · Contrast checker → · Palette generator →

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