#5426A4#5426A4

#5426A4 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.186 H 292.9°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#5426A4
RGBrgb(84, 38, 164)
HSLhsl(262, 62%, 40%)
HSVhsv(262, 77%, 64%)
CMYKcmyk(48.8%, 76.8%, 0%, 35.7%)
CIE-LABlab(29.29, 48.81, -59.80)
CIE-LCHlch(29.29, 77.19, 309.22°)
OKLaboklab(41.24% 0.0727 -0.1716)
OKLCHoklch(41.24% 0.186 292.9)
XYZxyz(11.0482, 5.9510, 35.6813)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5426A4 #76A426
analogous
#2637A4 #5426A4 #9326A4
triadic
#5426A4 #A45426 #26A454
tetradic
#5426A4 #A42637 #76A426 #26A493
square
#5426A4 #A42637 #76A426 #26A493
split-complementary
#5426A4 #A49326 #37A426
monochromatic
#210F41 #3B1A72 #5426A4 #6F37D1 #9368DC

Accessibility & contrast

On white

9.59
#5426A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5426A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5426A4
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5426A4#FFFFFF#000000##FFFFFF
##5426A41.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#0043A2
Tritanopia (blue-blind)
#3B4964
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5426a4;
/* rgb */ color: rgb(84, 38, 164);
/* oklch */ color: oklch(41.2% 0.186 292.9);
Tailwind
colors: {
  custom: {
    50: '#8c66c0',
    500: '#5426a4',
    950: '#000000',
  },
}
SCSS
$custom: #5426a4;
$custom-light: #8c66c0;
$custom-dark: #000000;
JSON
{
  "hex": "#5426a4",
  "rgb": {
    "r": 84,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 261.905,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41244,
    "c": 0.18636,
    "h": 292.9
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#5426A4
secondary
#A0C264
accent
#E542AA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5426A4

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

Preview Lab → · Contrast checker → · Palette generator →

#5426A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva