#5427A3#5427A3

#5427A3 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.184 H 293.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#5427A3
RGBrgb(84, 39, 163)
HSLhsl(262, 61%, 40%)
HSVhsv(262, 76%, 64%)
CMYKcmyk(48.5%, 76.1%, 0%, 36.1%)
CIE-LABlab(29.36, 48.07, -59.08)
CIE-LCHlch(29.36, 76.16, 309.13°)
OKLaboklab(41.27% 0.0721 -0.1695)
OKLCHoklch(41.27% 0.184 293)
XYZxyz(10.9907, 5.9798, 35.2184)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5427A3 #76A327
analogous
#2738A3 #5427A3 #9227A3
triadic
#5427A3 #A35427 #27A354
tetradic
#5427A3 #A32738 #76A327 #27A392
square
#5427A3 #A32738 #76A327 #27A392
split-complementary
#5427A3 #A39227 #38A327
monochromatic
#210F40 #3B1B72 #5427A3 #6F38CF #9369DB

Accessibility & contrast

On white

9.56
#5427A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5427A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5427A3
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5427A3#FFFFFF#000000##FFFFFF
##5427A31.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5427a3;
/* rgb */ color: rgb(84, 39, 163);
/* oklch */ color: oklch(41.3% 0.184 293.0);
Tailwind
colors: {
  custom: {
    50: '#8c66bf',
    500: '#5427a3',
    950: '#000000',
  },
}
SCSS
$custom: #5427a3;
$custom-light: #8c66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5427a3",
  "rgb": {
    "r": 84,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 261.774,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41267,
    "c": 0.18419,
    "h": 293
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#5427A3
secondary
#A0C164
accent
#E443AA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5427A3

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

Preview Lab → · Contrast checker → · Palette generator →

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