#5426A3#5426A3

#5426A3 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.185 H 293.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#5426A3
RGBrgb(84, 38, 163)
HSLhsl(262, 62%, 39%)
HSVhsv(262, 77%, 64%)
CMYKcmyk(48.5%, 76.7%, 0%, 36.1%)
CIE-LABlab(29.20, 48.54, -59.35)
CIE-LCHlch(29.20, 76.67, 309.28°)
OKLaboklab(41.15% 0.0729 -0.1703)
OKLCHoklch(41.15% 0.185 293.2)
XYZxyz(10.9583, 5.9150, 35.2076)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5426A3 #75A326
analogous
#2637A3 #5426A3 #9326A3
triadic
#5426A3 #A35426 #26A354
tetradic
#5426A3 #A32637 #75A326 #26A393
square
#5426A3 #A32637 #75A326 #26A393
split-complementary
#5426A3 #A39326 #37A326
monochromatic
#210F40 #3A1A71 #5426A3 #6F36D0 #9268DC

Accessibility & contrast

On white

9.62
#5426A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5426A3
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5426A3#FFFFFF#000000##FFFFFF
##5426A31.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#0042A1
Tritanopia (blue-blind)
#3B4863
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5426a3;
/* rgb */ color: rgb(84, 38, 163);
/* oklch */ color: oklch(41.2% 0.185 293.2);
Tailwind
colors: {
  custom: {
    50: '#8c66bf',
    500: '#5426a3',
    950: '#000000',
  },
}
SCSS
$custom: #5426a3;
$custom-light: #8c66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5426a3",
  "rgb": {
    "r": 84,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 262.08,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41152,
    "c": 0.18524,
    "h": 293.2
  },
  "luminance": 0.05915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5426A3

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

Preview Lab → · Contrast checker → · Palette generator →

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