#5E24A9#5E24A9

#5E24A9 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.194 H 296.9°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#5E24A9
RGBrgb(94, 36, 169)
HSLhsl(266, 65%, 40%)
HSVhsv(266, 79%, 66%)
CMYKcmyk(44.4%, 78.7%, 0%, 33.7%)
CIE-LABlab(30.65, 52.54, -60.53)
CIE-LCHlch(30.65, 80.15, 310.96°)
OKLaboklab(42.61% 0.0881 -0.1734)
OKLCHoklch(42.61% 0.194 296.9)
XYZxyz(12.4065, 6.5057, 38.1305)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E24A9 #6FA924
analogous
#242DA9 #5E24A9 #A024A9
triadic
#5E24A9 #A95E24 #24A95E
tetradic
#5E24A9 #A9242D #6FA924 #24A9A0
square
#5E24A9 #A9242D #6FA924 #24A9A0
split-complementary
#5E24A9 #A9A024 #2DA924
monochromatic
#260F44 #421977 #5E24A9 #7B36D4 #9C68DF

Accessibility & contrast

On white

9.13
#5E24A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#5E24A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E24A9
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E24A9#FFFFFF#000000##FFFFFF
##5E24A91.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0046A6
Tritanopia (blue-blind)
#4A4966
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5e24a9;
/* rgb */ color: rgb(94, 36, 169);
/* oklch */ color: oklch(42.6% 0.194 296.9);
Tailwind
colors: {
  custom: {
    50: '#9366c4',
    500: '#5e24a9',
    950: '#000000',
  },
}
SCSS
$custom: #5e24a9;
$custom-light: #9366c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e24a9",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 169
  },
  "hsl": {
    "h": 266.165,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42611,
    "c": 0.19449,
    "h": 296.9
  },
  "luminance": 0.06506
}

Semantic roles & 50–950 ramp

primary
#5E24A9
secondary
#9BC564
accent
#E8409F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5E24A9

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

Preview Lab → · Contrast checker → · Palette generator →

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