#5428BA#5428BA

#5428BA is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.5% C 0.209 H 288.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#5428BA
RGBrgb(84, 40, 186)
HSLhsl(258, 65%, 44%)
HSVhsv(258, 78%, 73%)
CMYKcmyk(54.8%, 78.5%, 0%, 27.1%)
CIE-LABlab(31.69, 53.88, -69.03)
CIE-LCHlch(31.69, 87.56, 307.97°)
OKLaboklab(43.55% 0.0648 -0.1986)
OKLCHoklch(43.55% 0.209 288.1)
XYZxyz(13.2753, 6.9469, 47.0862)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5428BA #8EBA28
analogous
#2845BA #5428BA #9D28BA
triadic
#5428BA #BA5428 #28BA54
tetradic
#5428BA #BA2845 #8EBA28 #28BA9D
square
#5428BA #BA2845 #8EBA28 #28BA9D
split-complementary
#5428BA #BA9D28 #45BA28
monochromatic
#271255 #3D1D88 #5428BA #7348D8 #997AE2

Accessibility & contrast

On white

8.79
#5428BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#5428BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5428BA
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5428BA#FFFFFF#000000##FFFFFF
##5428BA1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBE
Deuteranopia (green-blind)
#0047B7
Tritanopia (blue-blind)
#295271
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5428ba;
/* rgb */ color: rgb(84, 40, 186);
/* oklch */ color: oklch(43.5% 0.209 288.1);
Tailwind
colors: {
  custom: {
    50: '#8f68d0',
    500: '#5428ba',
    950: '#000000',
  },
}
SCSS
$custom: #5428ba;
$custom-light: #8f68d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5428ba",
  "rgb": {
    "r": 84,
    "g": 40,
    "b": 186
  },
  "hsl": {
    "h": 258.082,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43549,
    "c": 0.20892,
    "h": 288.1
  },
  "luminance": 0.06948
}

Semantic roles & 50–950 ramp

primary
#5428BA
secondary
#B0CA73
accent
#E840B5
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0614
muted
#7E7A82

Preview Lab

Preview with #5428BA

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

Preview Lab → · Contrast checker → · Palette generator →

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