#5425A2#5425A2

#5425A2 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.185 H 293.6°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#5425A2
RGBrgb(84, 37, 162)
HSLhsl(263, 63%, 39%)
HSVhsv(263, 77%, 64%)
CMYKcmyk(48.1%, 77.2%, 0%, 36.5%)
CIE-LABlab(28.94, 48.73, -59.16)
CIE-LCHlch(28.94, 76.64, 309.48°)
OKLaboklab(40.95% 0.074 -0.1697)
OKLCHoklch(40.95% 0.185 293.6)
XYZxyz(10.8375, 5.8162, 34.7270)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5425A2 #73A225
analogous
#2535A2 #5425A2 #9325A2
triadic
#5425A2 #A25425 #25A254
tetradic
#5425A2 #A22535 #73A225 #25A293
square
#5425A2 #A22535 #73A225 #25A293
split-complementary
#5425A2 #A29325 #35A225
monochromatic
#200E3E #3A1A70 #5425A2 #6F34D1 #9265DC

Accessibility & contrast

On white

9.71
#5425A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#5425A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5425A2
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5425A2#FFFFFF#000000##FFFFFF
##5425A21.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A6
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#3C4762
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5425a2;
/* rgb */ color: rgb(84, 37, 162);
/* oklch */ color: oklch(40.9% 0.185 293.6);
Tailwind
colors: {
  custom: {
    50: '#8c65bf',
    500: '#5425a2',
    950: '#000000',
  },
}
SCSS
$custom: #5425a2;
$custom-light: #8c65bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5425a2",
  "rgb": {
    "r": 84,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 262.56,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40947,
    "c": 0.18515,
    "h": 293.6
  },
  "luminance": 0.05817
}

Semantic roles & 50–950 ramp

primary
#5425A2
secondary
#9DC261
accent
#E642A8
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5425A2

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

Preview Lab → · Contrast checker → · Palette generator →

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