#5A24AE#5A24AE

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

Color values

HEX#5A24AE
RGBrgb(90, 36, 174)
HSLhsl(263, 66%, 41%)
HSVhsv(263, 79%, 68%)
CMYKcmyk(48.3%, 79.3%, 0%, 31.8%)
CIE-LABlab(30.62, 53.23, -63.61)
CIE-LCHlch(30.62, 82.94, 309.92°)
OKLaboklab(42.62% 0.0805 -0.1825)
OKLCHoklch(42.62% 0.2 293.8)
XYZxyz(12.4852, 6.4910, 40.6313)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A24AE #78AE24
analogous
#2433AE #5A24AE #9F24AE
triadic
#5A24AE #AE5A24 #24AE5A
tetradic
#5A24AE #AE2433 #78AE24 #24AE9F
square
#5A24AE #AE2433 #78AE24 #24AE9F
split-complementary
#5A24AE #AE9F24 #33AE24
monochromatic
#260F49 #401A7B #5A24AE #7739D6 #9A6CE1

Accessibility & contrast

On white

9.14
#5A24AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A24AE
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A24AE#FFFFFF#000000##FFFFFF
##5A24AE1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0046AB
Tritanopia (blue-blind)
#404B69
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5a24ae;
/* rgb */ color: rgb(90, 36, 174);
/* oklch */ color: oklch(42.6% 0.200 293.8);
Tailwind
colors: {
  custom: {
    50: '#9166c7',
    500: '#5a24ae',
    950: '#000000',
  },
}
SCSS
$custom: #5a24ae;
$custom-light: #9166c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a24ae",
  "rgb": {
    "r": 90,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 263.478,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42616,
    "c": 0.1995,
    "h": 293.8
  },
  "luminance": 0.06491
}

Semantic roles & 50–950 ramp

primary
#5A24AE
secondary
#A1C767
accent
#E93FA6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5A24AE

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

Preview Lab → · Contrast checker → · Palette generator →

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