#5C24A9#5C24A9

#5C24A9 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.194 H 296.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#5C24A9
RGBrgb(92, 36, 169)
HSLhsl(265, 65%, 40%)
HSVhsv(265, 79%, 66%)
CMYKcmyk(45.6%, 78.7%, 0%, 33.7%)
CIE-LABlab(30.40, 52.23, -60.96)
CIE-LCHlch(30.40, 80.27, 310.59°)
OKLaboklab(42.38% 0.0851 -0.1747)
OKLCHoklch(42.38% 0.194 296)
XYZxyz(12.2040, 6.4013, 38.1210)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C24A9 #71A924
analogous
#242FA9 #5C24A9 #9E24A9
triadic
#5C24A9 #A95C24 #24A95C
tetradic
#5C24A9 #A9242F #71A924 #24A99E
square
#5C24A9 #A9242F #71A924 #24A99E
split-complementary
#5C24A9 #A99E24 #2FA924
monochromatic
#250F44 #411977 #5C24A9 #7936D4 #9A68DF

Accessibility & contrast

On white

9.21
#5C24A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5C24A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C24A9
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C24A9#FFFFFF#000000##FFFFFF
##5C24A91.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0046A7
Tritanopia (blue-blind)
#464966
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5c24a9;
/* rgb */ color: rgb(92, 36, 169);
/* oklch */ color: oklch(42.4% 0.194 296.0);
Tailwind
colors: {
  custom: {
    50: '#9266c4',
    500: '#5c24a9',
    950: '#000000',
  },
}
SCSS
$custom: #5c24a9;
$custom-light: #9266c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c24a9",
  "rgb": {
    "r": 92,
    "g": 36,
    "b": 169
  },
  "hsl": {
    "h": 265.263,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4238,
    "c": 0.1943,
    "h": 296
  },
  "luminance": 0.06402
}

Semantic roles & 50–950 ramp

primary
#5C24A9
secondary
#9CC564
accent
#E840A1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5C24A9

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

Preview Lab → · Contrast checker → · Palette generator →

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