#5428A0#5428A0

#5428A0 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.180 H 293.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#5428A0
RGBrgb(84, 40, 160)
HSLhsl(262, 60%, 39%)
HSVhsv(262, 75%, 63%)
CMYKcmyk(47.5%, 75%, 0%, 37.3%)
CIE-LABlab(29.26, 46.78, -57.42)
CIE-LCHlch(29.26, 74.06, 309.16°)
OKLaboklab(41.11% 0.072 -0.1646)
OKLCHoklch(41.11% 0.18 293.6)
XYZxyz(10.7584, 5.9401, 33.8306)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5428A0 #74A028
analogous
#2838A0 #5428A0 #9028A0
triadic
#5428A0 #A05428 #28A054
tetradic
#5428A0 #A02838 #74A028 #28A090
square
#5428A0 #A02838 #74A028 #28A090
split-complementary
#5428A0 #A09028 #38A028
monochromatic
#21103E #3A1C6F #5428A0 #6F38CD #9269D9

Accessibility & contrast

On white

9.60
#5428A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5428A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5428A0
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5428A0#FFFFFF#000000##FFFFFF
##5428A01.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#3D4862
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5428a0;
/* rgb */ color: rgb(84, 40, 160);
/* oklch */ color: oklch(41.1% 0.180 293.6);
Tailwind
colors: {
  custom: {
    50: '#8c66bd',
    500: '#5428a0',
    950: '#000000',
  },
}
SCSS
$custom: #5428a0;
$custom-light: #8c66bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5428a0",
  "rgb": {
    "r": 84,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 262,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41114,
    "c": 0.17971,
    "h": 293.6
  },
  "luminance": 0.0594
}

Semantic roles & 50–950 ramp

primary
#5428A0
secondary
#9EC064
accent
#E345A9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5428A0

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

Preview Lab → · Contrast checker → · Palette generator →

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