#5425B0#5425B0

#5425B0 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.3% C 0.201 H 290.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#5425B0
RGBrgb(84, 37, 176)
HSLhsl(260, 65%, 42%)
HSVhsv(260, 79%, 69%)
CMYKcmyk(52.3%, 79%, 0%, 31%)
CIE-LABlab(30.26, 52.49, -65.42)
CIE-LCHlch(30.26, 83.88, 308.74°)
OKLaboklab(42.27% 0.0699 -0.1881)
OKLCHoklch(42.27% 0.201 290.4)
XYZxyz(12.1519, 6.3420, 41.6497)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5425B0 #81B025
analogous
#253CB0 #5425B0 #9A25B0
triadic
#5425B0 #B05425 #25B054
tetradic
#5425B0 #B0253C #81B025 #25B09A
square
#5425B0 #B0253C #81B025 #25B09A
split-complementary
#5425B0 #B09A25 #3CB025
monochromatic
#24104B #3C1A7D #5425B0 #703CD6 #956FE1

Accessibility & contrast

On white

9.26
#5425B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5425B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5425B0
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5425B0#FFFFFF#000000##FFFFFF
##5425B01.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#324D6A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5425b0;
/* rgb */ color: rgb(84, 37, 176);
/* oklch */ color: oklch(42.3% 0.201 290.4);
Tailwind
colors: {
  custom: {
    50: '#8e66c9',
    500: '#5425b0',
    950: '#000000',
  },
}
SCSS
$custom: #5425b0;
$custom-light: #8e66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5425b0",
  "rgb": {
    "r": 84,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 260.288,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42265,
    "c": 0.20063,
    "h": 290.4
  },
  "luminance": 0.06343
}

Semantic roles & 50–950 ramp

primary
#5425B0
secondary
#A8C76A
accent
#E840AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5425B0

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

Preview Lab → · Contrast checker → · Palette generator →

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