#5428A3#5428A3

#5428A3 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.183 H 292.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#5428A3
RGBrgb(84, 40, 163)
HSLhsl(261, 61%, 40%)
HSVhsv(261, 75%, 64%)
CMYKcmyk(48.5%, 75.5%, 0%, 36.1%)
CIE-LABlab(29.53, 47.59, -58.80)
CIE-LCHlch(29.53, 75.65, 308.98°)
OKLaboklab(41.39% 0.0712 -0.1687)
OKLCHoklch(41.39% 0.183 292.9)
XYZxyz(11.0240, 6.0464, 35.2295)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5428A3 #77A328
analogous
#283AA3 #5428A3 #9128A3
triadic
#5428A3 #A35428 #28A354
tetradic
#5428A3 #A3283A #77A328 #28A391
square
#5428A3 #A3283A #77A328 #28A391
split-complementary
#5428A3 #A39128 #3AA328
monochromatic
#211041 #3B1C72 #5428A3 #6F3ACF #936BDB

Accessibility & contrast

On white

9.50
#5428A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5428A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5428A3
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5428A3#FFFFFF#000000##FFFFFF
##5428A31.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A7
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#3B4964
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5428a3;
/* rgb */ color: rgb(84, 40, 163);
/* oklch */ color: oklch(41.4% 0.183 292.9);
Tailwind
colors: {
  custom: {
    50: '#8c67bf',
    500: '#5428a3',
    950: '#000000',
  },
}
SCSS
$custom: #5428a3;
$custom-light: #8c67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5428a3",
  "rgb": {
    "r": 84,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 261.463,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41385,
    "c": 0.18312,
    "h": 292.9
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5428A3

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

Preview Lab → · Contrast checker → · Palette generator →

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