#5425BC#5425BC

#5425BC is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.4% C 0.214 H 288.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#5425BC
RGBrgb(84, 37, 188)
HSLhsl(259, 67%, 44%)
HSVhsv(259, 80%, 74%)
CMYKcmyk(55.3%, 80.3%, 0%, 26.3%)
CIE-LABlab(31.44, 55.72, -70.62)
CIE-LCHlch(31.44, 89.95, 308.27°)
OKLaboklab(43.44% 0.0661 -0.2033)
OKLCHoklch(43.44% 0.214 288)
XYZxyz(13.3921, 6.8381, 48.1814)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5425BC #8DBC25
analogous
#2542BC #5425BC #9F25BC
triadic
#5425BC #BC5425 #25BC54
tetradic
#5425BC #BC2542 #8DBC25 #25BC9F
square
#5425BC #BC2542 #8DBC25 #25BC9F
split-complementary
#5425BC #BC9F25 #42BC25
monochromatic
#261156 #3D1B89 #5425BC #7344DA #9977E4

Accessibility & contrast

On white

8.87
#5425BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#5425BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5425BC
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5425BC#FFFFFF#000000##FFFFFF
##5425BC1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC0
Deuteranopia (green-blind)
#0046B9
Tritanopia (blue-blind)
#275271
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5425bc;
/* rgb */ color: rgb(84, 37, 188);
/* oklch */ color: oklch(43.4% 0.214 288.0);
Tailwind
colors: {
  custom: {
    50: '#9066d1',
    500: '#5425bc',
    950: '#000000',
  },
}
SCSS
$custom: #5425bc;
$custom-light: #9066d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5425bc",
  "rgb": {
    "r": 84,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 258.675,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43435,
    "c": 0.21373,
    "h": 288
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#5425BC
secondary
#B0CC71
accent
#EA3EB4
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5425BC

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

Preview Lab → · Contrast checker → · Palette generator →

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