#5E24B1#5E24B1

#5E24B1 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.3% C 0.203 H 295.0°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#5E24B1
RGBrgb(94, 36, 177)
HSLhsl(265, 66%, 42%)
HSVhsv(265, 80%, 69%)
CMYKcmyk(46.9%, 79.7%, 0%, 30.6%)
CIE-LABlab(31.38, 54.57, -64.13)
CIE-LCHlch(31.38, 84.21, 310.39°)
OKLaboklab(43.34% 0.0857 -0.1839)
OKLCHoklch(43.34% 0.203 295)
XYZxyz(13.1806, 6.8154, 42.2075)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E24B1 #77B124
analogous
#2431B1 #5E24B1 #A524B1
triadic
#5E24B1 #B15E24 #24B15E
tetradic
#5E24B1 #B12431 #77B124 #24B1A5
square
#5E24B1 #B12431 #77B124 #24B1A5
split-complementary
#5E24B1 #B1A524 #31B124
monochromatic
#280F4B #431A7E #5E24B1 #7B3BD7 #9D6EE1

Accessibility & contrast

On white

8.89
#5E24B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5E24B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E24B1
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E24B1#FFFFFF#000000##FFFFFF
##5E24B11.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#0048AE
Tritanopia (blue-blind)
#464C6B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5e24b1;
/* rgb */ color: rgb(94, 36, 177);
/* oklch */ color: oklch(43.3% 0.203 295.0);
Tailwind
colors: {
  custom: {
    50: '#9466c9',
    500: '#5e24b1',
    950: '#000000',
  },
}
SCSS
$custom: #5e24b1;
$custom-light: #9466c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e24b1",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 264.681,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43341,
    "c": 0.20291,
    "h": 295
  },
  "luminance": 0.06816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E24B1

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

Preview Lab → · Contrast checker → · Palette generator →

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