#5425C4#5425C4

#5425C4 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.2% C 0.222 H 286.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#5425C4
RGBrgb(84, 37, 196)
HSLhsl(258, 68%, 46%)
HSVhsv(258, 81%, 77%)
CMYKcmyk(57.1%, 81.1%, 0%, 23.1%)
CIE-LABlab(32.24, 57.86, -74.00)
CIE-LCHlch(32.24, 93.94, 308.02°)
OKLaboklab(44.23% 0.0634 -0.2131)
OKLCHoklch(44.23% 0.222 286.6)
XYZxyz(14.2785, 7.1927, 52.8498)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5425C4 #95C425
analogous
#2545C4 #5425C4 #A325C4
triadic
#5425C4 #C45425 #25C454
tetradic
#5425C4 #C42545 #95C425 #25C4A3
square
#5425C4 #C42545 #95C425 #25C4A3
split-complementary
#5425C4 #C4A325 #45C425
monochromatic
#28125D #3E1B91 #5425C4 #7549DD #9C7DE6

Accessibility & contrast

On white

8.61
#5425C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5425C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5425C4
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5425C4#FFFFFF#000000##FFFFFF
##5425C41.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C8
Deuteranopia (green-blind)
#0047C1
Tritanopia (blue-blind)
#1B5576
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5425c4;
/* rgb */ color: rgb(84, 37, 196);
/* oklch */ color: oklch(44.2% 0.222 286.6);
Tailwind
colors: {
  custom: {
    50: '#9167d7',
    500: '#5425c4',
    950: '#000000',
  },
}
SCSS
$custom: #5425c4;
$custom-light: #9167d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5425c4",
  "rgb": {
    "r": 84,
    "g": 37,
    "b": 196
  },
  "hsl": {
    "h": 257.736,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44233,
    "c": 0.22237,
    "h": 286.6
  },
  "luminance": 0.07193
}

Semantic roles & 50–950 ramp

primary
#5425C4
secondary
#B4CF76
accent
#EB3DB8
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #5425C4

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

Preview Lab → · Contrast checker → · Palette generator →

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