#5E24AF#5E24AF

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

Color values

HEX#5E24AF
RGBrgb(94, 36, 175)
HSLhsl(265, 66%, 41%)
HSVhsv(265, 79%, 69%)
CMYKcmyk(46.3%, 79.4%, 0%, 31.4%)
CIE-LABlab(31.20, 54.06, -63.24)
CIE-LCHlch(31.20, 83.20, 310.52°)
OKLaboklab(43.16% 0.0863 -0.1813)
OKLCHoklch(43.16% 0.201 295.4)
XYZxyz(12.9827, 6.7362, 41.1653)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E24AF #75AF24
analogous
#2430AF #5E24AF #A424AF
triadic
#5E24AF #AF5E24 #24AF5E
tetradic
#5E24AF #AF2430 #75AF24 #24AFA4
square
#5E24AF #AF2430 #75AF24 #24AFA4
split-complementary
#5E24AF #AFA424 #30AF24
monochromatic
#270F49 #431A7C #5E24AF #7B3AD6 #9D6DE1

Accessibility & contrast

On white

8.95
#5E24AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#5E24AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E24AF
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E24AF#FFFFFF#000000##FFFFFF
##5E24AF1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e24af;
/* rgb */ color: rgb(94, 36, 175);
/* oklch */ color: oklch(43.2% 0.201 295.4);
Tailwind
colors: {
  custom: {
    50: '#9466c8',
    500: '#5e24af',
    950: '#000000',
  },
}
SCSS
$custom: #5e24af;
$custom-light: #9466c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e24af",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 265.036,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43157,
    "c": 0.20081,
    "h": 295.4
  },
  "luminance": 0.06737
}

Semantic roles & 50–950 ramp

primary
#5E24AF
secondary
#9FC768
accent
#E93FA2
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5E24AF

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

Preview Lab → · Contrast checker → · Palette generator →

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