#5427AA#5427AA

#5427AA is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.192 H 291.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#5427AA
RGBrgb(84, 39, 170)
HSLhsl(261, 63%, 41%)
HSVhsv(261, 77%, 67%)
CMYKcmyk(50.6%, 77.1%, 0%, 33.3%)
CIE-LABlab(30.00, 49.97, -62.25)
CIE-LCHlch(30.00, 79.82, 308.76°)
OKLaboklab(41.91% 0.0702 -0.1788)
OKLCHoklch(41.91% 0.192 291.4)
XYZxyz(11.6353, 6.2377, 38.6133)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5427AA #7DAA27
analogous
#273BAA #5427AA #9527AA
triadic
#5427AA #AA5427 #27AA54
tetradic
#5427AA #AA273B #7DAA27 #27AA95
square
#5427AA #AA273B #7DAA27 #27AA95
split-complementary
#5427AA #AA9527 #3BAA27
monochromatic
#231046 #3B1C78 #5427AA #703CD2 #946EDE

Accessibility & contrast

On white

9.34
#5427AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5427AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5427AA#FFFFFF#000000##FFFFFF
##5427AA1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#374B67
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5427aa;
/* rgb */ color: rgb(84, 39, 170);
/* oklch */ color: oklch(41.9% 0.192 291.4);
Tailwind
colors: {
  custom: {
    50: '#8d66c4',
    500: '#5427aa',
    950: '#000000',
  },
}
SCSS
$custom: #5427aa;
$custom-light: #8d66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5427aa",
  "rgb": {
    "r": 84,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 260.611,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41914,
    "c": 0.19206,
    "h": 291.4
  },
  "luminance": 0.06238
}

Semantic roles & 50–950 ramp

primary
#5427AA
secondary
#A5C469
accent
#E642AE
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5427AA

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

Preview Lab → · Contrast checker → · Palette generator →

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