#5427AE#5427AE

#5427AE is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.197 H 290.6°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#5427AE
RGBrgb(84, 39, 174)
HSLhsl(260, 63%, 42%)
HSVhsv(260, 78%, 68%)
CMYKcmyk(51.7%, 77.6%, 0%, 31.8%)
CIE-LABlab(30.38, 51.06, -64.03)
CIE-LCHlch(30.38, 81.90, 308.57°)
OKLaboklab(42.29% 0.069 -0.184)
OKLCHoklch(42.29% 0.197 290.6)
XYZxyz(12.0195, 6.3913, 40.6365)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5427AE #81AE27
analogous
#273EAE #5427AE #9827AE
triadic
#5427AE #AE5427 #27AE54
tetradic
#5427AE #AE273E #81AE27 #27AE98
square
#5427AE #AE273E #81AE27 #27AE98
split-complementary
#5427AE #AE9827 #3EAE27
monochromatic
#24114A #3C1C7C #5427AE #703ED4 #9570DF

Accessibility & contrast

On white

9.22
#5427AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5427AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5427AE
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5427AE#FFFFFF#000000##FFFFFF
##5427AE1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#344D6A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5427ae;
/* rgb */ color: rgb(84, 39, 174);
/* oklch */ color: oklch(42.3% 0.197 290.6);
Tailwind
colors: {
  custom: {
    50: '#8e67c7',
    500: '#5427ae',
    950: '#000000',
  },
}
SCSS
$custom: #5427ae;
$custom-light: #8e67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5427ae",
  "rgb": {
    "r": 84,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 260,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4229,
    "c": 0.19653,
    "h": 290.6
  },
  "luminance": 0.06392
}

Semantic roles & 50–950 ramp

primary
#5427AE
secondary
#A8C66B
accent
#E641AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5427AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5427AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva