#5E428D#5E428D

#5E428D is a dark, vivid violet. Relative luminance 0.082; OKLCH L 44.6% C 0.121 H 298.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5E428D
RGBrgb(94, 66, 141)
HSLhsl(262, 36%, 41%)
HSVhsv(262, 53%, 55%)
CMYKcmyk(33.3%, 53.2%, 0%, 44.7%)
CIE-LABlab(34.39, 29.15, -37.48)
CIE-LCHlch(34.39, 47.48, 307.88°)
OKLaboklab(44.65% 0.0578 -0.1058)
OKLCHoklch(44.65% 0.121 298.6)
XYZxyz(11.3709, 8.1991, 26.1777)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E428D #718D42
analogous
#424B8D #5E428D #83428D
triadic
#5E428D #8D5E42 #428D5E
tetradic
#5E428D #8D424B #718D42 #428D83
square
#5E428D #8D424B #718D42 #428D83
split-complementary
#5E428D #8D8342 #4B8D42
monochromatic
#261B3A #422E63 #5E428D #7B5AB2 #9C84C5

Accessibility & contrast

On white

7.96
#5E428D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5E428D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E428D
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E428D#FFFFFF#000000##FFFFFF
##5E428D1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265190
Deuteranopia (green-blind)
#2E508B
Tritanopia (blue-blind)
#545161
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e428d;
/* rgb */ color: rgb(94, 66, 141);
/* oklch */ color: oklch(44.6% 0.121 298.6);
Tailwind
colors: {
  custom: {
    50: '#8e77af',
    500: '#5e428d',
    950: '#000000',
  },
}
SCSS
$custom: #5e428d;
$custom-light: #8e77af;
$custom-dark: #000000;
JSON
{
  "hex": "#5e428d",
  "rgb": {
    "r": 94,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 262.4,
    "s": 36.232,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4465,
    "c": 0.12052,
    "h": 298.6
  },
  "luminance": 0.08199
}

Semantic roles & 50–950 ramp

primary
#5E428D
secondary
#9CB07B
accent
#CC5CA2
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0910
muted
#7D7B7F

Preview Lab

Preview with #5E428D

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

Preview Lab → · Contrast checker → · Palette generator →

#5E428D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva