#5425B1#5425B1

#5425B1 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.4% C 0.202 H 290.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#5425B1
RGBrgb(84, 37, 177)
HSLhsl(260, 65%, 42%)
HSVhsv(260, 79%, 69%)
CMYKcmyk(52.5%, 79.1%, 0%, 30.6%)
CIE-LABlab(30.36, 52.76, -65.86)
CIE-LCHlch(30.36, 84.39, 308.70°)
OKLaboklab(42.36% 0.0696 -0.1893)
OKLCHoklch(42.36% 0.202 290.2)
XYZxyz(12.2512, 6.3817, 42.1727)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5425B1 #82B125
analogous
#253CB1 #5425B1 #9A25B1
triadic
#5425B1 #B15425 #25B154
tetradic
#5425B1 #B1253C #82B125 #25B19A
square
#5425B1 #B1253C #82B125 #25B19A
split-complementary
#5425B1 #B19A25 #3CB125
monochromatic
#24104C #3C1A7E #5425B1 #703DD6 #966FE1

Accessibility & contrast

On white

9.23
#5425B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5425B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5425B1
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5425B1#FFFFFF#000000##FFFFFF
##5425B11.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#314D6B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5425b1;
/* rgb */ color: rgb(84, 37, 177);
/* oklch */ color: oklch(42.4% 0.202 290.2);
Tailwind
colors: {
  custom: {
    50: '#8e66ca',
    500: '#5425b1',
    950: '#000000',
  },
}
SCSS
$custom: #5425b1;
$custom-light: #8e66ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5425b1",
  "rgb": {
    "r": 84,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 260.143,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42361,
    "c": 0.20173,
    "h": 290.2
  },
  "luminance": 0.06382
}

Semantic roles & 50–950 ramp

primary
#5425B1
secondary
#A8C86A
accent
#E83FB0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5425B1

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

Preview Lab → · Contrast checker → · Palette generator →

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