#5426AE#5426AE

#5426AE is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.197 H 290.7°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#5426AE
RGBrgb(84, 38, 174)
HSLhsl(260, 64%, 42%)
HSVhsv(260, 78%, 68%)
CMYKcmyk(51.7%, 78.2%, 0%, 31.8%)
CIE-LABlab(30.22, 51.51, -64.29)
CIE-LCHlch(30.22, 82.38, 308.70°)
OKLaboklab(42.18% 0.0698 -0.1847)
OKLCHoklch(42.18% 0.197 290.7)
XYZxyz(11.9871, 6.3265, 40.6257)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5426AE #80AE26
analogous
#263CAE #5426AE #9826AE
triadic
#5426AE #AE5426 #26AE54
tetradic
#5426AE #AE263C #80AE26 #26AE98
square
#5426AE #AE263C #80AE26 #26AE98
split-complementary
#5426AE #AE9826 #3CAE26
monochromatic
#24104A #3C1B7C #5426AE #703DD5 #956FE0

Accessibility & contrast

On white

9.27
#5426AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5426AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5426AE
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5426AE#FFFFFF#000000##FFFFFF
##5426AE1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#344D69
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5426ae;
/* rgb */ color: rgb(84, 38, 174);
/* oklch */ color: oklch(42.2% 0.197 290.7);
Tailwind
colors: {
  custom: {
    50: '#8e66c7',
    500: '#5426ae',
    950: '#000000',
  },
}
SCSS
$custom: #5426ae;
$custom-light: #8e66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5426ae",
  "rgb": {
    "r": 84,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 260.294,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42181,
    "c": 0.19749,
    "h": 290.7
  },
  "luminance": 0.06327
}

Semantic roles & 50–950 ramp

primary
#5426AE
secondary
#A7C66A
accent
#E741AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5426AE

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

Preview Lab → · Contrast checker → · Palette generator →

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