#5428AF#5428AF

#5428AF is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.197 H 290.2°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#5428AF
RGBrgb(84, 40, 175)
HSLhsl(260, 63%, 42%)
HSVhsv(260, 77%, 69%)
CMYKcmyk(52%, 77.1%, 0%, 31.4%)
CIE-LABlab(30.63, 50.87, -64.21)
CIE-LCHlch(30.63, 81.92, 308.39°)
OKLaboklab(42.5% 0.068 -0.1845)
OKLCHoklch(42.5% 0.197 290.2)
XYZxyz(12.1506, 6.4970, 41.1630)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5428AF #83AF28
analogous
#283FAF #5428AF #9828AF
triadic
#5428AF #AF5428 #28AF54
tetradic
#5428AF #AF283F #83AF28 #28AF98
square
#5428AF #AF283F #83AF28 #28AF98
split-complementary
#5428AF #AF9828 #3FAF28
monochromatic
#24114B #3C1D7D #5428AF #7141D4 #9673DF

Accessibility & contrast

On white

9.13
#5428AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#5428AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5428AF
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5428AF#FFFFFF#000000##FFFFFF
##5428AF1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#334E6A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5428af;
/* rgb */ color: rgb(84, 40, 175);
/* oklch */ color: oklch(42.5% 0.197 290.2);
Tailwind
colors: {
  custom: {
    50: '#8e67c8',
    500: '#5428af',
    950: '#000000',
  },
}
SCSS
$custom: #5428af;
$custom-light: #8e67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5428af",
  "rgb": {
    "r": 84,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 259.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42497,
    "c": 0.19667,
    "h": 290.2
  },
  "luminance": 0.06498
}

Semantic roles & 50–950 ramp

primary
#5428AF
secondary
#A9C66D
accent
#E642B0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5428AF

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

Preview Lab → · Contrast checker → · Palette generator →

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