#5424AF#5424AF

#5424AF is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.1% C 0.200 H 290.7°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#5424AF
RGBrgb(84, 36, 175)
HSLhsl(261, 66%, 41%)
HSVhsv(261, 79%, 69%)
CMYKcmyk(52%, 79.4%, 0%, 31.4%)
CIE-LABlab(30.01, 52.66, -65.23)
CIE-LCHlch(30.01, 83.83, 308.91°)
OKLaboklab(42.06% 0.0709 -0.1875)
OKLCHoklch(42.06% 0.2 290.7)
XYZxyz(12.0227, 6.2412, 41.1203)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5424AF #7FAF24
analogous
#243AAF #5424AF #9A24AF
triadic
#5424AF #AF5424 #24AF54
tetradic
#5424AF #AF243A #7FAF24 #24AF9A
square
#5424AF #AF243A #7FAF24 #24AF9A
split-complementary
#5424AF #AF9A24 #3AAF24
monochromatic
#230F49 #3C1A7C #5424AF #703AD6 #956DE1

Accessibility & contrast

On white

9.34
#5424AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5424AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5424AF
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5424AF#FFFFFF#000000##FFFFFF
##5424AF1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#334C6A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5424af;
/* rgb */ color: rgb(84, 36, 175);
/* oklch */ color: oklch(42.1% 0.200 290.7);
Tailwind
colors: {
  custom: {
    50: '#8e65c8',
    500: '#5424af',
    950: '#000000',
  },
}
SCSS
$custom: #5424af;
$custom-light: #8e65c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5424af",
  "rgb": {
    "r": 84,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 260.719,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42064,
    "c": 0.20045,
    "h": 290.7
  },
  "luminance": 0.06242
}

Semantic roles & 50–950 ramp

primary
#5424AF
secondary
#A6C768
accent
#E93FAE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5424AF

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

Preview Lab → · Contrast checker → · Palette generator →

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