#5427A1#5427A1

#5427A1 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.182 H 293.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#5427A1
RGBrgb(84, 39, 161)
HSLhsl(262, 61%, 39%)
HSVhsv(262, 76%, 63%)
CMYKcmyk(47.8%, 75.8%, 0%, 36.9%)
CIE-LABlab(29.18, 47.53, -58.16)
CIE-LCHlch(29.18, 75.11, 309.25°)
OKLaboklab(41.09% 0.0726 -0.1668)
OKLCHoklch(41.09% 0.182 293.5)
XYZxyz(10.8129, 5.9087, 34.2821)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5427A1 #74A127
analogous
#2737A1 #5427A1 #9127A1
triadic
#5427A1 #A15427 #27A154
tetradic
#5427A1 #A12737 #74A127 #27A191
square
#5427A1 #A12737 #74A127 #27A191
split-complementary
#5427A1 #A19127 #37A127
monochromatic
#210F3E #3A1B70 #5427A1 #6F37CE #9268DA

Accessibility & contrast

On white

9.63
#5427A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5427A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5427A1
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5427A1#FFFFFF#000000##FFFFFF
##5427A11.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5427a1;
/* rgb */ color: rgb(84, 39, 161);
/* oklch */ color: oklch(41.1% 0.182 293.5);
Tailwind
colors: {
  custom: {
    50: '#8c66be',
    500: '#5427a1',
    950: '#000000',
  },
}
SCSS
$custom: #5427a1;
$custom-light: #8c66be;
$custom-dark: #000000;
JSON
{
  "hex": "#5427a1",
  "rgb": {
    "r": 84,
    "g": 39,
    "b": 161
  },
  "hsl": {
    "h": 262.131,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41085,
    "c": 0.18193,
    "h": 293.5
  },
  "luminance": 0.05909
}

Semantic roles & 50–950 ramp

primary
#5427A1
secondary
#9EC063
accent
#E444A9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5427A1

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

Preview Lab → · Contrast checker → · Palette generator →

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