#5426A2#5426A2

#5426A2 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.184 H 293.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#5426A2
RGBrgb(84, 38, 162)
HSLhsl(262, 62%, 39%)
HSVhsv(262, 77%, 64%)
CMYKcmyk(48.1%, 76.5%, 0%, 36.5%)
CIE-LABlab(29.11, 48.27, -58.89)
CIE-LCHlch(29.11, 76.15, 309.34°)
OKLaboklab(41.06% 0.0732 -0.1689)
OKLCHoklch(41.06% 0.184 293.4)
XYZxyz(10.8691, 5.8793, 34.7376)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5426A2 #74A226
analogous
#2636A2 #5426A2 #9226A2
triadic
#5426A2 #A25426 #26A254
tetradic
#5426A2 #A22636 #74A226 #26A292
square
#5426A2 #A22636 #74A226 #26A292
split-complementary
#5426A2 #A29226 #36A226
monochromatic
#210F3F #3A1A70 #5426A2 #6F35D0 #9267DB

Accessibility & contrast

On white

9.65
#5426A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5426A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5426A2
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5426A2#FFFFFF#000000##FFFFFF
##5426A21.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A6
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#3C4863
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5426a2;
/* rgb */ color: rgb(84, 38, 162);
/* oklch */ color: oklch(41.1% 0.184 293.4);
Tailwind
colors: {
  custom: {
    50: '#8c66bf',
    500: '#5426a2',
    950: '#000000',
  },
}
SCSS
$custom: #5426a2;
$custom-light: #8c66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5426a2",
  "rgb": {
    "r": 84,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 262.258,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4106,
    "c": 0.18411,
    "h": 293.4
  },
  "luminance": 0.0588
}

Semantic roles & 50–950 ramp

primary
#5426A2
secondary
#9EC163
accent
#E543A9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5426A2

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

Preview Lab → · Contrast checker → · Palette generator →

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