#5425A4#5425A4

#5425A4 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.187 H 293.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#5425A4
RGBrgb(84, 37, 164)
HSLhsl(262, 63%, 39%)
HSVhsv(262, 77%, 64%)
CMYKcmyk(48.8%, 77.4%, 0%, 35.7%)
CIE-LABlab(29.13, 49.27, -60.07)
CIE-LCHlch(29.13, 77.69, 309.36°)
OKLaboklab(41.13% 0.0735 -0.1724)
OKLCHoklch(41.13% 0.187 293.1)
XYZxyz(11.0167, 5.8879, 35.6708)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5425A4 #75A425
analogous
#2535A4 #5425A4 #9425A4
triadic
#5425A4 #A45425 #25A454
tetradic
#5425A4 #A42535 #75A425 #25A494
square
#5425A4 #A42535 #75A425 #25A494
split-complementary
#5425A4 #A49425 #35A425
monochromatic
#210E40 #3A1A72 #5425A4 #6F35D1 #9267DD

Accessibility & contrast

On white

9.64
#5425A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5425A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5425A4
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5425A4#FFFFFF#000000##FFFFFF
##5425A41.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5425a4;
/* rgb */ color: rgb(84, 37, 164);
/* oklch */ color: oklch(41.1% 0.187 293.1);
Tailwind
colors: {
  custom: {
    50: '#8c65c0',
    500: '#5425a4',
    950: '#000000',
  },
}
SCSS
$custom: #5425a4;
$custom-light: #8c65c0;
$custom-dark: #000000;
JSON
{
  "hex": "#5425a4",
  "rgb": {
    "r": 84,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 262.205,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41132,
    "c": 0.18737,
    "h": 293.1
  },
  "luminance": 0.05888
}

Semantic roles & 50–950 ramp

primary
#5425A4
secondary
#9FC262
accent
#E642A9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5425A4

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

Preview Lab → · Contrast checker → · Palette generator →

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