#5E24B0#5E24B0

#5E24B0 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.2% C 0.202 H 295.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#5E24B0
RGBrgb(94, 36, 176)
HSLhsl(265, 66%, 42%)
HSVhsv(265, 80%, 69%)
CMYKcmyk(46.6%, 79.5%, 0%, 31%)
CIE-LABlab(31.29, 54.31, -63.69)
CIE-LCHlch(31.29, 83.70, 310.46°)
OKLaboklab(43.25% 0.086 -0.1826)
OKLCHoklch(43.25% 0.202 295.2)
XYZxyz(13.0813, 6.7757, 41.6845)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E24B0 #76B024
analogous
#2430B0 #5E24B0 #A424B0
triadic
#5E24B0 #B05E24 #24B05E
tetradic
#5E24B0 #B02430 #76B024 #24B0A4
square
#5E24B0 #B02430 #76B024 #24B0A4
split-complementary
#5E24B0 #B0A424 #30B024
monochromatic
#280F4A #431A7D #5E24B0 #7B3AD7 #9D6DE1

Accessibility & contrast

On white

8.92
#5E24B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E24B0
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E24B0#FFFFFF#000000##FFFFFF
##5E24B01.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#464C6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5e24b0;
/* rgb */ color: rgb(94, 36, 176);
/* oklch */ color: oklch(43.2% 0.202 295.2);
Tailwind
colors: {
  custom: {
    50: '#9466c9',
    500: '#5e24b0',
    950: '#000000',
  },
}
SCSS
$custom: #5e24b0;
$custom-light: #9466c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e24b0",
  "rgb": {
    "r": 94,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 264.857,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43249,
    "c": 0.20186,
    "h": 295.2
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

primary
#5E24B0
secondary
#A0C868
accent
#E93FA2
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5E24B0

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

Preview Lab → · Contrast checker → · Palette generator →

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