#5428BC#5428BC

#5428BC is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.7% C 0.211 H 287.7°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#5428BC
RGBrgb(84, 40, 188)
HSLhsl(258, 65%, 45%)
HSVhsv(258, 79%, 74%)
CMYKcmyk(55.3%, 78.7%, 0%, 26.3%)
CIE-LABlab(31.88, 54.43, -69.89)
CIE-LCHlch(31.88, 88.58, 307.91°)
OKLaboklab(43.74% 0.0641 -0.2011)
OKLCHoklch(43.74% 0.211 287.7)
XYZxyz(13.4894, 7.0325, 48.2138)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5428BC #90BC28
analogous
#2846BC #5428BC #9E28BC
triadic
#5428BC #BC5428 #28BC54
tetradic
#5428BC #BC2846 #90BC28 #28BC9E
square
#5428BC #BC2846 #90BC28 #28BC9E
split-complementary
#5428BC #BC9E28 #46BC28
monochromatic
#271357 #3D1D8A #5428BC #7449D8 #9A7BE3

Accessibility & contrast

On white

8.73
#5428BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5428BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5428BC
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5428BC#FFFFFF#000000##FFFFFF
##5428BC1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#265372
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5428bc;
/* rgb */ color: rgb(84, 40, 188);
/* oklch */ color: oklch(43.7% 0.211 287.7);
Tailwind
colors: {
  custom: {
    50: '#9068d1',
    500: '#5428bc',
    950: '#000000',
  },
}
SCSS
$custom: #5428bc;
$custom-light: #9068d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5428bc",
  "rgb": {
    "r": 84,
    "g": 40,
    "b": 188
  },
  "hsl": {
    "h": 257.838,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43744,
    "c": 0.21112,
    "h": 287.7
  },
  "luminance": 0.07033
}

Semantic roles & 50–950 ramp

primary
#5428BC
secondary
#B1CB75
accent
#E840B6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5428BC

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

Preview Lab → · Contrast checker → · Palette generator →

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