#5428AD#5428AD

#5428AD is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.194 H 290.6°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#5428AD
RGBrgb(84, 40, 173)
HSLhsl(260, 62%, 42%)
HSVhsv(260, 77%, 68%)
CMYKcmyk(51.4%, 76.9%, 0%, 32.2%)
CIE-LABlab(30.45, 50.33, -63.32)
CIE-LCHlch(30.45, 80.89, 308.48°)
OKLaboklab(42.31% 0.0686 -0.1819)
OKLCHoklch(42.31% 0.194 290.6)
XYZxyz(11.9556, 6.4190, 40.1361)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5428AD #81AD28
analogous
#283EAD #5428AD #9728AD
triadic
#5428AD #AD5428 #28AD54
tetradic
#5428AD #AD283E #81AD28 #28AD97
square
#5428AD #AD283E #81AD28 #28AD97
split-complementary
#5428AD #AD9728 #3EAD28
monochromatic
#24114A #3C1D7B #5428AD #703FD3 #9571DE

Accessibility & contrast

On white

9.19
#5428AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5428AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5428AD
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5428AD#FFFFFF#000000##FFFFFF
##5428AD1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB1
Deuteranopia (green-blind)
#0045AB
Tritanopia (blue-blind)
#354D69
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5428ad;
/* rgb */ color: rgb(84, 40, 173);
/* oklch */ color: oklch(42.3% 0.194 290.6);
Tailwind
colors: {
  custom: {
    50: '#8e67c7',
    500: '#5428ad',
    950: '#000000',
  },
}
SCSS
$custom: #5428ad;
$custom-light: #8e67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5428ad",
  "rgb": {
    "r": 84,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 259.85,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42309,
    "c": 0.19443,
    "h": 290.6
  },
  "luminance": 0.0642
}

Semantic roles & 50–950 ramp

primary
#5428AD
secondary
#A8C56C
accent
#E642B0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5428AD

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

Preview Lab → · Contrast checker → · Palette generator →

#5428AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva