#5425A5#5425A5

#5425A5 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.188 H 292.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#5425A5
RGBrgb(84, 37, 165)
HSLhsl(262, 63%, 40%)
HSVhsv(262, 78%, 65%)
CMYKcmyk(49.1%, 77.6%, 0%, 35.3%)
CIE-LABlab(29.22, 49.54, -60.52)
CIE-LCHlch(29.22, 78.21, 309.30°)
OKLaboklab(41.22% 0.0732 -0.1737)
OKLCHoklch(41.22% 0.188 292.8)
XYZxyz(11.1074, 5.9242, 36.1483)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5425A5 #76A525
analogous
#2536A5 #5425A5 #9425A5
triadic
#5425A5 #A55425 #25A554
tetradic
#5425A5 #A52536 #76A525 #25A594
square
#5425A5 #A52536 #76A525 #25A594
split-complementary
#5425A5 #A59425 #36A525
monochromatic
#210F41 #3B1A73 #5425A5 #6F35D2 #9367DD

Accessibility & contrast

On white

9.61
#5425A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5425A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5425A5
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5425A5#FFFFFF#000000##FFFFFF
##5425A51.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#3A4964
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5425a5;
/* rgb */ color: rgb(84, 37, 165);
/* oklch */ color: oklch(41.2% 0.188 292.8);
Tailwind
colors: {
  custom: {
    50: '#8d65c1',
    500: '#5425a5',
    950: '#000000',
  },
}
SCSS
$custom: #5425a5;
$custom-light: #8d65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5425a5",
  "rgb": {
    "r": 84,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 262.031,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41224,
    "c": 0.18849,
    "h": 292.8
  },
  "luminance": 0.05925
}

Semantic roles & 50–950 ramp

primary
#5425A5
secondary
#A0C363
accent
#E641AA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5425A5

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

Preview Lab → · Contrast checker → · Palette generator →

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