#5C24A0#5C24A0

#5C24A0 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.185 H 298.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#5C24A0
RGBrgb(92, 36, 160)
HSLhsl(267, 63%, 38%)
HSVhsv(267, 78%, 63%)
CMYKcmyk(42.5%, 77.5%, 0%, 37.3%)
CIE-LABlab(29.60, 49.94, -56.83)
CIE-LCHlch(29.60, 75.65, 311.31°)
OKLaboklab(41.57% 0.0876 -0.1626)
OKLCHoklch(41.57% 0.185 298.3)
XYZxyz(11.3880, 6.0749, 33.8235)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C24A0 #68A024
analogous
#242AA0 #5C24A0 #9A24A0
triadic
#5C24A0 #A05C24 #24A05C
tetradic
#5C24A0 #A0242A #68A024 #24A09A
square
#5C24A0 #A0242A #68A024 #24A09A
split-complementary
#5C24A0 #A09A24 #2AA024
monochromatic
#230E3C #3F196E #5C24A0 #7931D1 #9963DC

Accessibility & contrast

On white

9.48
#5C24A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5C24A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C24A0
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C24A0#FFFFFF#000000##FFFFFF
##5C24A01.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00449E
Tritanopia (blue-blind)
#4B4561
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5c24a0;
/* rgb */ color: rgb(92, 36, 160);
/* oklch */ color: oklch(41.6% 0.185 298.3);
Tailwind
colors: {
  custom: {
    50: '#9165bd',
    500: '#5c24a0',
    950: '#000000',
  },
}
SCSS
$custom: #5c24a0;
$custom-light: #9165bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c24a0",
  "rgb": {
    "r": 92,
    "g": 36,
    "b": 160
  },
  "hsl": {
    "h": 267.097,
    "s": 63.265,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41573,
    "c": 0.18469,
    "h": 298.3
  },
  "luminance": 0.06075
}

Semantic roles & 50–950 ramp

primary
#5C24A0
secondary
#95C15F
accent
#E6419C
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C24A0

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

Preview Lab → · Contrast checker → · Palette generator →

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