#5425AE#5425AE

#5425AE is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.198 H 290.8°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#5425AE
RGBrgb(84, 37, 174)
HSLhsl(261, 65%, 41%)
HSVhsv(261, 79%, 68%)
CMYKcmyk(51.7%, 78.7%, 0%, 31.8%)
CIE-LABlab(30.07, 51.96, -64.54)
CIE-LCHlch(30.07, 82.86, 308.83°)
OKLaboklab(42.07% 0.0705 -0.1855)
OKLCHoklch(42.07% 0.198 290.8)
XYZxyz(11.9555, 6.2634, 40.6152)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5425AE #7FAE25
analogous
#253BAE #5425AE #9925AE
triadic
#5425AE #AE5425 #25AE54
tetradic
#5425AE #AE253B #7FAE25 #25AE99
square
#5425AE #AE253B #7FAE25 #25AE99
split-complementary
#5425AE #AE9925 #3BAE25
monochromatic
#231049 #3C1A7C #5425AE #703BD5 #956DE0

Accessibility & contrast

On white

9.32
#5425AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5425AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5425AE
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5425AE#FFFFFF#000000##FFFFFF
##5425AE1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#344C69
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5425ae;
/* rgb */ color: rgb(84, 37, 174);
/* oklch */ color: oklch(42.1% 0.198 290.8);
Tailwind
colors: {
  custom: {
    50: '#8e66c7',
    500: '#5425ae',
    950: '#000000',
  },
}
SCSS
$custom: #5425ae;
$custom-light: #8e66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5425ae",
  "rgb": {
    "r": 84,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 260.584,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42073,
    "c": 0.19843,
    "h": 290.8
  },
  "luminance": 0.06264
}

Semantic roles & 50–950 ramp

primary
#5425AE
secondary
#A6C668
accent
#E840AE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5425AE

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

Preview Lab → · Contrast checker → · Palette generator →

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