#5428A4#5428A4

#5428A4 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.184 H 292.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#5428A4
RGBrgb(84, 40, 164)
HSLhsl(261, 61%, 40%)
HSVhsv(261, 76%, 64%)
CMYKcmyk(48.8%, 75.6%, 0%, 35.7%)
CIE-LABlab(29.62, 47.86, -59.26)
CIE-LCHlch(29.62, 76.18, 308.93°)
OKLaboklab(41.48% 0.071 -0.17)
OKLCHoklch(41.48% 0.184 292.7)
XYZxyz(11.1139, 6.0824, 35.7032)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5428A4 #78A428
analogous
#283AA4 #5428A4 #9228A4
triadic
#5428A4 #A45428 #28A454
tetradic
#5428A4 #A4283A #78A428 #28A492
square
#5428A4 #A4283A #78A428 #28A492
split-complementary
#5428A4 #A49228 #3AA428
monochromatic
#221042 #3B1C73 #5428A4 #6F3ACF #936BDB

Accessibility & contrast

On white

9.47
#5428A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5428A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5428A4
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5428A4#FFFFFF#000000##FFFFFF
##5428A41.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#0043A2
Tritanopia (blue-blind)
#3B4A64
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5428a4;
/* rgb */ color: rgb(84, 40, 164);
/* oklch */ color: oklch(41.5% 0.184 292.7);
Tailwind
colors: {
  custom: {
    50: '#8c67c0',
    500: '#5428a4',
    950: '#000000',
  },
}
SCSS
$custom: #5428a4;
$custom-light: #8c67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#5428a4",
  "rgb": {
    "r": 84,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 261.29,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.41476,
    "c": 0.18425,
    "h": 292.7
  },
  "luminance": 0.06083
}

Semantic roles & 50–950 ramp

primary
#5428A4
secondary
#A1C166
accent
#E444AB
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5428A4

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

Preview Lab → · Contrast checker → · Palette generator →

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