#5428AB#5428AB

#5428AB is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.192 H 291.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#5428AB
RGBrgb(84, 40, 171)
HSLhsl(260, 62%, 41%)
HSVhsv(260, 77%, 67%)
CMYKcmyk(50.9%, 76.6%, 0%, 32.9%)
CIE-LABlab(30.26, 49.78, -62.43)
CIE-LCHlch(30.26, 79.84, 308.57°)
OKLaboklab(42.12% 0.0691 -0.1793)
OKLCHoklch(42.12% 0.192 291.1)
XYZxyz(11.7635, 6.3422, 39.1245)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5428AB #7FAB28
analogous
#283EAB #5428AB #9628AB
triadic
#5428AB #AB5428 #28AB54
tetradic
#5428AB #AB283E #7FAB28 #28AB96
square
#5428AB #AB283E #7FAB28 #28AB96
split-complementary
#5428AB #AB9628 #3EAB28
monochromatic
#231148 #3C1C79 #5428AB #703ED2 #9570DE

Accessibility & contrast

On white

9.26
#5428AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5428AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5428AB
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5428AB#FFFFFF#000000##FFFFFF
##5428AB1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#364C68
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5428ab;
/* rgb */ color: rgb(84, 40, 171);
/* oklch */ color: oklch(42.1% 0.192 291.1);
Tailwind
colors: {
  custom: {
    50: '#8d67c5',
    500: '#5428ab',
    950: '#000000',
  },
}
SCSS
$custom: #5428ab;
$custom-light: #8d67c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5428ab",
  "rgb": {
    "r": 84,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 260.153,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42122,
    "c": 0.19218,
    "h": 291.1
  },
  "luminance": 0.06343
}

Semantic roles & 50–950 ramp

primary
#5428AB
secondary
#A6C46A
accent
#E543AF
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5428AB

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

Preview Lab → · Contrast checker → · Palette generator →

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