#5426A5#5426A5

#5426A5 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.187 H 292.7°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#5426A5
RGBrgb(84, 38, 165)
HSLhsl(262, 63%, 40%)
HSVhsv(262, 77%, 65%)
CMYKcmyk(49.1%, 77%, 0%, 35.3%)
CIE-LABlab(29.38, 49.08, -60.26)
CIE-LCHlch(29.38, 77.72, 309.16°)
OKLaboklab(41.34% 0.0724 -0.1729)
OKLCHoklch(41.34% 0.187 292.7)
XYZxyz(11.1389, 5.9873, 36.1588)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5426A5 #77A526
analogous
#2638A5 #5426A5 #9426A5
triadic
#5426A5 #A55426 #26A554
tetradic
#5426A5 #A52638 #77A526 #26A594
square
#5426A5 #A52638 #77A526 #26A594
split-complementary
#5426A5 #A59426 #38A526
monochromatic
#210F42 #3B1B73 #5426A5 #6F37D1 #9369DC

Accessibility & contrast

On white

9.56
#5426A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5426A5
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5426A5#FFFFFF#000000##FFFFFF
##5426A51.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#3A4964
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5426a5;
/* rgb */ color: rgb(84, 38, 165);
/* oklch */ color: oklch(41.3% 0.187 292.7);
Tailwind
colors: {
  custom: {
    50: '#8d66c1',
    500: '#5426a5',
    950: '#000000',
  },
}
SCSS
$custom: #5426a5;
$custom-light: #8d66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5426a5",
  "rgb": {
    "r": 84,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 261.732,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41336,
    "c": 0.18748,
    "h": 292.7
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#5426A5
secondary
#A0C364
accent
#E642AA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5426A5

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

Preview Lab → · Contrast checker → · Palette generator →

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