#5425A3#5425A3

#5425A3 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.186 H 293.3°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#5425A3
RGBrgb(84, 37, 163)
HSLhsl(262, 63%, 39%)
HSVhsv(262, 77%, 64%)
CMYKcmyk(48.5%, 77.3%, 0%, 36.1%)
CIE-LABlab(29.04, 49.00, -59.61)
CIE-LCHlch(29.04, 77.17, 309.42°)
OKLaboklab(41.04% 0.0738 -0.171)
OKLCHoklch(41.04% 0.186 293.3)
XYZxyz(10.9268, 5.8519, 35.1970)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5425A3 #74A325
analogous
#2535A3 #5425A3 #9325A3
triadic
#5425A3 #A35425 #25A354
tetradic
#5425A3 #A32535 #74A325 #25A393
square
#5425A3 #A32535 #74A325 #25A393
split-complementary
#5425A3 #A39325 #35A325
monochromatic
#210E3F #3A1A71 #5425A3 #6F34D1 #9266DC

Accessibility & contrast

On white

9.68
#5425A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5425A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5425A3
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5425A3#FFFFFF#000000##FFFFFF
##5425A31.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)
#0046A7
Deuteranopia (green-blind)
#0042A1
Tritanopia (blue-blind)
#3B4863
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5425a3;
/* rgb */ color: rgb(84, 37, 163);
/* oklch */ color: oklch(41.0% 0.186 293.3);
Tailwind
colors: {
  custom: {
    50: '#8c65bf',
    500: '#5425a3',
    950: '#000000',
  },
}
SCSS
$custom: #5425a3;
$custom-light: #8c65bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5425a3",
  "rgb": {
    "r": 84,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 262.381,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41039,
    "c": 0.18627,
    "h": 293.3
  },
  "luminance": 0.05852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5425A3

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

Preview Lab → · Contrast checker → · Palette generator →

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