#5C24AF#5C24AF

#5C24AF is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.9% C 0.201 H 294.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#5C24AF
RGBrgb(92, 36, 175)
HSLhsl(264, 66%, 41%)
HSVhsv(264, 79%, 69%)
CMYKcmyk(47.4%, 79.4%, 0%, 31.4%)
CIE-LABlab(30.95, 53.77, -63.65)
CIE-LCHlch(30.95, 83.32, 310.19°)
OKLaboklab(42.93% 0.0832 -0.1826)
OKLCHoklch(42.93% 0.201 294.5)
XYZxyz(12.7803, 6.6318, 41.1558)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C24AF #77AF24
analogous
#2431AF #5C24AF #A224AF
triadic
#5C24AF #AF5C24 #24AF5C
tetradic
#5C24AF #AF2431 #77AF24 #24AFA2
square
#5C24AF #AF2431 #77AF24 #24AFA2
split-complementary
#5C24AF #AFA224 #31AF24
monochromatic
#270F49 #411A7C #5C24AF #793AD6 #9B6DE1

Accessibility & contrast

On white

9.03
#5C24AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5C24AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C24AF
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C24AF#FFFFFF#000000##FFFFFF
##5C24AF1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#434B6A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5c24af;
/* rgb */ color: rgb(92, 36, 175);
/* oklch */ color: oklch(42.9% 0.201 294.5);
Tailwind
colors: {
  custom: {
    50: '#9366c8',
    500: '#5c24af',
    950: '#000000',
  },
}
SCSS
$custom: #5c24af;
$custom-light: #9366c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c24af",
  "rgb": {
    "r": 92,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 264.173,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42932,
    "c": 0.20068,
    "h": 294.5
  },
  "luminance": 0.06632
}

Semantic roles & 50–950 ramp

primary
#5C24AF
secondary
#A1C768
accent
#E93FA4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5C24AF

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

Preview Lab → · Contrast checker → · Palette generator →

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