#5426AB#5426AB

#5426AB is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.194 H 291.3°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#5426AB
RGBrgb(84, 38, 171)
HSLhsl(261, 64%, 41%)
HSVhsv(261, 78%, 67%)
CMYKcmyk(50.9%, 77.8%, 0%, 32.9%)
CIE-LABlab(29.94, 50.70, -62.96)
CIE-LCHlch(29.94, 80.83, 308.85°)
OKLaboklab(41.9% 0.0707 -0.1808)
OKLCHoklch(41.9% 0.194 291.3)
XYZxyz(11.6979, 6.2109, 39.1026)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5426AB #7DAB26
analogous
#263AAB #5426AB #9626AB
triadic
#5426AB #AB5426 #26AB54
tetradic
#5426AB #AB263A #7DAB26 #26AB96
square
#5426AB #AB263A #7DAB26 #26AB96
split-complementary
#5426AB #AB9626 #3AAB26
monochromatic
#231047 #3B1B79 #5426AB #703BD3 #946DDF

Accessibility & contrast

On white

9.37
#5426AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5426AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5426AB
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5426AB#FFFFFF#000000##FFFFFF
##5426AB1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#364B68
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5426ab;
/* rgb */ color: rgb(84, 38, 171);
/* oklch */ color: oklch(41.9% 0.194 291.3);
Tailwind
colors: {
  custom: {
    50: '#8d66c5',
    500: '#5426ab',
    950: '#000000',
  },
}
SCSS
$custom: #5426ab;
$custom-light: #8d66c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5426ab",
  "rgb": {
    "r": 84,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 260.752,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41897,
    "c": 0.19417,
    "h": 291.3
  },
  "luminance": 0.06211
}

Semantic roles & 50–950 ramp

primary
#5426AB
secondary
#A5C568
accent
#E741AD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5426AB

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

Preview Lab → · Contrast checker → · Palette generator →

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