#5424A9#5424A9

#5424A9 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.194 H 292.0°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#5424A9
RGBrgb(84, 36, 169)
HSLhsl(262, 65%, 40%)
HSVhsv(262, 79%, 66%)
CMYKcmyk(50.3%, 78.7%, 0%, 33.7%)
CIE-LABlab(29.44, 51.05, -62.57)
CIE-LCHlch(29.44, 80.76, 309.21°)
OKLaboklab(41.49% 0.0728 -0.1797)
OKLCHoklch(41.49% 0.194 292)
XYZxyz(11.4464, 6.0107, 38.0855)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5424A9 #79A924
analogous
#2437A9 #5424A9 #9624A9
triadic
#5424A9 #A95424 #24A954
tetradic
#5424A9 #A92437 #79A924 #24A996
square
#5424A9 #A92437 #79A924 #24A996
split-complementary
#5424A9 #A99624 #37A924
monochromatic
#220F44 #3B1977 #5424A9 #6F36D4 #9368DF

Accessibility & contrast

On white

9.54
#5424A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5424A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5424A9
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5424A9#FFFFFF#000000##FFFFFF
##5424A91.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#384A66
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5424a9;
/* rgb */ color: rgb(84, 36, 169);
/* oklch */ color: oklch(41.5% 0.194 292.0);
Tailwind
colors: {
  custom: {
    50: '#8d65c4',
    500: '#5424a9',
    950: '#000000',
  },
}
SCSS
$custom: #5424a9;
$custom-light: #8d65c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5424a9",
  "rgb": {
    "r": 84,
    "g": 36,
    "b": 169
  },
  "hsl": {
    "h": 261.654,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41491,
    "c": 0.19389,
    "h": 292
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#5424A9
secondary
#A2C564
accent
#E840AB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5424A9

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

Preview Lab → · Contrast checker → · Palette generator →

#5424A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva