#5A24BD#5A24BD

#5A24BD is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.0% C 0.215 H 290.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#5A24BD
RGBrgb(90, 36, 189)
HSLhsl(261, 68%, 44%)
HSVhsv(261, 81%, 74%)
CMYKcmyk(52.4%, 81%, 0%, 25.9%)
CIE-LABlab(32.05, 57.12, -70.17)
CIE-LCHlch(32.05, 90.48, 309.15°)
OKLaboklab(44.05% 0.0756 -0.2017)
OKLCHoklch(44.05% 0.215 290.5)
XYZxyz(14.0300, 7.1089, 48.7672)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A24BD #87BD24
analogous
#243BBD #5A24BD #A724BD
triadic
#5A24BD #BD5A24 #24BD5A
tetradic
#5A24BD #BD243B #87BD24 #24BDA7
square
#5A24BD #BD243B #87BD24 #24BDA7
split-complementary
#5A24BD #BDA724 #3BBD24
monochromatic
#291056 #421A8A #5A24BD #7943DB #9D76E5

Accessibility & contrast

On white

8.67
#5A24BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5A24BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A24BD
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A24BD#FFFFFF#000000##FFFFFF
##5A24BD1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#355272
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5a24bd;
/* rgb */ color: rgb(90, 36, 189);
/* oklch */ color: oklch(44.0% 0.215 290.5);
Tailwind
colors: {
  custom: {
    50: '#9367d2',
    500: '#5a24bd',
    950: '#000000',
  },
}
SCSS
$custom: #5a24bd;
$custom-light: #9367d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a24bd",
  "rgb": {
    "r": 90,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 261.176,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44045,
    "c": 0.21545,
    "h": 290.5
  },
  "luminance": 0.0711
}

Semantic roles & 50–950 ramp

primary
#5A24BD
secondary
#ACCC70
accent
#EB3DAD
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5A24BD

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

Preview Lab → · Contrast checker → · Palette generator →

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