#5426A1#5426A1

#5426A1 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.183 H 293.7°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#5426A1
RGBrgb(84, 38, 161)
HSLhsl(262, 62%, 39%)
HSVhsv(262, 76%, 63%)
CMYKcmyk(47.8%, 76.4%, 0%, 36.9%)
CIE-LABlab(29.02, 48.00, -58.43)
CIE-LCHlch(29.02, 75.62, 309.40°)
OKLaboklab(40.97% 0.0735 -0.1676)
OKLCHoklch(40.97% 0.183 293.7)
XYZxyz(10.7805, 5.8439, 34.2713)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5426A1 #73A126
analogous
#2636A1 #5426A1 #9226A1
triadic
#5426A1 #A15426 #26A154
tetradic
#5426A1 #A12636 #73A126 #26A192
square
#5426A1 #A12636 #73A126 #26A192
split-complementary
#5426A1 #A19226 #36A126
monochromatic
#200F3E #3A1A6F #5426A1 #6F35CF #9266DB

Accessibility & contrast

On white

9.68
#5426A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5426A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5426A1
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5426A1#FFFFFF#000000##FFFFFF
##5426A11.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#3D4762
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5426a1;
/* rgb */ color: rgb(84, 38, 161);
/* oklch */ color: oklch(41.0% 0.183 293.7);
Tailwind
colors: {
  custom: {
    50: '#8c65be',
    500: '#5426a1',
    950: '#000000',
  },
}
SCSS
$custom: #5426a1;
$custom-light: #8c65be;
$custom-dark: #000000;
JSON
{
  "hex": "#5426a1",
  "rgb": {
    "r": 84,
    "g": 38,
    "b": 161
  },
  "hsl": {
    "h": 262.439,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40969,
    "c": 0.18299,
    "h": 293.7
  },
  "luminance": 0.05844
}

Semantic roles & 50–950 ramp

primary
#5426A1
secondary
#9DC162
accent
#E543A8
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5426A1

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

Preview Lab → · Contrast checker → · Palette generator →

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