#5426A6#5426A6

#5426A6 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.189 H 292.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#5426A6
RGBrgb(84, 38, 166)
HSLhsl(262, 63%, 40%)
HSVhsv(262, 77%, 65%)
CMYKcmyk(49.4%, 77.1%, 0%, 34.9%)
CIE-LABlab(29.47, 49.35, -60.71)
CIE-LCHlch(29.47, 78.24, 309.11°)
OKLaboklab(41.43% 0.0721 -0.1743)
OKLCHoklch(41.43% 0.189 292.5)
XYZxyz(11.2303, 6.0238, 36.6400)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5426A6 #78A626
analogous
#2638A6 #5426A6 #9426A6
triadic
#5426A6 #A65426 #26A654
tetradic
#5426A6 #A62638 #78A626 #26A694
square
#5426A6 #A62638 #78A626 #26A694
split-complementary
#5426A6 #A69426 #38A626
monochromatic
#220F42 #3B1B74 #5426A6 #6F38D1 #936ADD

Accessibility & contrast

On white

9.52
#5426A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5426A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5426A6
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5426A6#FFFFFF#000000##FFFFFF
##5426A61.009.522.209.52
#FFFFFF9.521.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#0043A4
Tritanopia (blue-blind)
#3A4965
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5426a6;
/* rgb */ color: rgb(84, 38, 166);
/* oklch */ color: oklch(41.4% 0.189 292.5);
Tailwind
colors: {
  custom: {
    50: '#8d66c1',
    500: '#5426a6',
    950: '#000000',
  },
}
SCSS
$custom: #5426a6;
$custom-light: #8d66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5426a6",
  "rgb": {
    "r": 84,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 261.563,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.41429,
    "c": 0.1886,
    "h": 292.5
  },
  "luminance": 0.06024
}

Semantic roles & 50–950 ramp

primary
#5426A6
secondary
#A1C365
accent
#E642AB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5426A6

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

Preview Lab → · Contrast checker → · Palette generator →

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