#5D24AF#5D24AF

#5D24AF is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.0% C 0.201 H 295.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#5D24AF
RGBrgb(93, 36, 175)
HSLhsl(265, 66%, 41%)
HSVhsv(265, 79%, 69%)
CMYKcmyk(46.9%, 79.4%, 0%, 31.4%)
CIE-LABlab(31.08, 53.91, -63.45)
CIE-LCHlch(31.08, 83.26, 310.36°)
OKLaboklab(43.04% 0.0848 -0.182)
OKLCHoklch(43.04% 0.201 295)
XYZxyz(12.8808, 6.6837, 41.1605)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D24AF #76AF24
analogous
#2431AF #5D24AF #A324AF
triadic
#5D24AF #AF5D24 #24AF5D
tetradic
#5D24AF #AF2431 #76AF24 #24AFA3
square
#5D24AF #AF2431 #76AF24 #24AFA3
split-complementary
#5D24AF #AFA324 #31AF24
monochromatic
#270F49 #421A7C #5D24AF #7A3AD6 #9C6DE1

Accessibility & contrast

On white

8.99
#5D24AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#5D24AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D24AF
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D24AF#FFFFFF#000000##FFFFFF
##5D24AF1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d24af;
/* rgb */ color: rgb(93, 36, 175);
/* oklch */ color: oklch(43.0% 0.201 295.0);
Tailwind
colors: {
  custom: {
    50: '#9366c8',
    500: '#5d24af',
    950: '#000000',
  },
}
SCSS
$custom: #5d24af;
$custom-light: #9366c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d24af",
  "rgb": {
    "r": 93,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 264.604,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43044,
    "c": 0.20074,
    "h": 295
  },
  "luminance": 0.06684
}

Semantic roles & 50–950 ramp

primary
#5D24AF
secondary
#A0C768
accent
#E93FA3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5D24AF

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

Preview Lab → · Contrast checker → · Palette generator →

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