#5D24A0#5D24A0

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

Color values

HEX#5D24A0
RGBrgb(93, 36, 160)
HSLhsl(268, 63%, 38%)
HSVhsv(268, 78%, 63%)
CMYKcmyk(41.9%, 77.5%, 0%, 37.3%)
CIE-LABlab(29.73, 50.10, -56.61)
CIE-LCHlch(29.73, 75.60, 311.51°)
OKLaboklab(41.69% 0.0891 -0.1619)
OKLCHoklch(41.69% 0.185 298.8)
XYZxyz(11.4886, 6.1268, 33.8282)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D24A0 #67A024
analogous
#2429A0 #5D24A0 #9B24A0
triadic
#5D24A0 #A05D24 #24A05D
tetradic
#5D24A0 #A02429 #67A024 #24A09B
square
#5D24A0 #A02429 #67A024 #24A09B
split-complementary
#5D24A0 #A09B24 #29A024
monochromatic
#230E3C #40196E #5D24A0 #7A31D1 #9A63DC

Accessibility & contrast

On white

9.44
#5D24A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#5D24A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D24A0
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D24A0#FFFFFF#000000##FFFFFF
##5D24A01.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d24a0;
/* rgb */ color: rgb(93, 36, 160);
/* oklch */ color: oklch(41.7% 0.185 298.8);
Tailwind
colors: {
  custom: {
    50: '#9165bd',
    500: '#5d24a0',
    950: '#000000',
  },
}
SCSS
$custom: #5d24a0;
$custom-light: #9165bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d24a0",
  "rgb": {
    "r": 93,
    "g": 36,
    "b": 160
  },
  "hsl": {
    "h": 267.581,
    "s": 63.265,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41692,
    "c": 0.18482,
    "h": 298.8
  },
  "luminance": 0.06127
}

Semantic roles & 50–950 ramp

primary
#5D24A0
secondary
#94C15F
accent
#E6419B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5D24A0

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

Preview Lab → · Contrast checker → · Palette generator →

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