#5425A9#5425A9

#5425A9 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.193 H 291.9°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#5425A9
RGBrgb(84, 37, 169)
HSLhsl(261, 64%, 40%)
HSVhsv(261, 78%, 66%)
CMYKcmyk(50.3%, 78.1%, 0%, 33.7%)
CIE-LABlab(29.59, 50.61, -62.32)
CIE-LCHlch(29.59, 80.28, 309.08°)
OKLaboklab(41.6% 0.072 -0.179)
OKLCHoklch(41.6% 0.193 291.9)
XYZxyz(11.4771, 6.0721, 38.0957)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5425A9 #7AA925
analogous
#2538A9 #5425A9 #9625A9
triadic
#5425A9 #A95425 #25A954
tetradic
#5425A9 #A92538 #7AA925 #25A996
square
#5425A9 #A92538 #7AA925 #25A996
split-complementary
#5425A9 #A99625 #38A925
monochromatic
#220F45 #3B1A77 #5425A9 #6F38D3 #936ADE

Accessibility & contrast

On white

9.48
#5425A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5425A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5425A9
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5425A9#FFFFFF#000000##FFFFFF
##5425A91.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#384A66
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5425a9;
/* rgb */ color: rgb(84, 37, 169);
/* oklch */ color: oklch(41.6% 0.193 291.9);
Tailwind
colors: {
  custom: {
    50: '#8d65c4',
    500: '#5425a9',
    950: '#000000',
  },
}
SCSS
$custom: #5425a9;
$custom-light: #8d65c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5425a9",
  "rgb": {
    "r": 84,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 261.364,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41599,
    "c": 0.19292,
    "h": 291.9
  },
  "luminance": 0.06073
}

Semantic roles & 50–950 ramp

primary
#5425A9
secondary
#A3C465
accent
#E741AC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5425A9

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

Preview Lab → · Contrast checker → · Palette generator →

#5425A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva