#5427AD#5427AD

#5427AD is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.195 H 290.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#5427AD
RGBrgb(84, 39, 173)
HSLhsl(260, 63%, 42%)
HSVhsv(260, 77%, 68%)
CMYKcmyk(51.4%, 77.5%, 0%, 32.2%)
CIE-LABlab(30.28, 50.79, -63.59)
CIE-LCHlch(30.28, 81.38, 308.61°)
OKLaboklab(42.2% 0.0693 -0.1827)
OKLCHoklch(42.2% 0.195 290.8)
XYZxyz(11.9223, 6.3525, 40.1250)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5427AD #80AD27
analogous
#273DAD #5427AD #9727AD
triadic
#5427AD #AD5427 #27AD54
tetradic
#5427AD #AD273D #80AD27 #27AD97
square
#5427AD #AD273D #80AD27 #27AD97
split-complementary
#5427AD #AD9727 #3DAD27
monochromatic
#241049 #3C1C7B #5427AD #703ED3 #9570DF

Accessibility & contrast

On white

9.25
#5427AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5427AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5427AD#FFFFFF#000000##FFFFFF
##5427AD1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB1
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#354D69
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5427ad;
/* rgb */ color: rgb(84, 39, 173);
/* oklch */ color: oklch(42.2% 0.195 290.8);
Tailwind
colors: {
  custom: {
    50: '#8e67c7',
    500: '#5427ad',
    950: '#000000',
  },
}
SCSS
$custom: #5427ad;
$custom-light: #8e67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5427ad",
  "rgb": {
    "r": 84,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 260.149,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42196,
    "c": 0.19541,
    "h": 290.8
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#5427AD
secondary
#A7C66A
accent
#E642AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5427AD

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

Preview Lab → · Contrast checker → · Palette generator →

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