#5D428D#5D428D

#5D428D is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.5% C 0.120 H 298.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#5D428D
RGBrgb(93, 66, 141)
HSLhsl(262, 36%, 41%)
HSVhsv(262, 53%, 55%)
CMYKcmyk(34%, 53.2%, 0%, 44.7%)
CIE-LABlab(34.29, 28.88, -37.65)
CIE-LCHlch(34.29, 47.46, 307.49°)
OKLaboklab(44.55% 0.0564 -0.1063)
OKLCHoklch(44.55% 0.12 298)
XYZxyz(11.2690, 8.1465, 26.1729)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D428D #728D42
analogous
#424C8D #5D428D #82428D
triadic
#5D428D #8D5D42 #428D5D
tetradic
#5D428D #8D424C #728D42 #428D82
square
#5D428D #8D424C #728D42 #428D82
split-complementary
#5D428D #8D8242 #4C8D42
monochromatic
#261B3A #422E63 #5D428D #7A5AB2 #9C84C5

Accessibility & contrast

On white

7.99
#5D428D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5D428D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D428D
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D428D#FFFFFF#000000##FFFFFF
##5D428D1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d428d;
/* rgb */ color: rgb(93, 66, 141);
/* oklch */ color: oklch(44.5% 0.120 298.0);
Tailwind
colors: {
  custom: {
    50: '#8e77af',
    500: '#5d428d',
    950: '#000000',
  },
}
SCSS
$custom: #5d428d;
$custom-light: #8e77af;
$custom-dark: #000000;
JSON
{
  "hex": "#5d428d",
  "rgb": {
    "r": 93,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 261.6,
    "s": 36.232,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44545,
    "c": 0.12037,
    "h": 298
  },
  "luminance": 0.08147
}

Semantic roles & 50–950 ramp

primary
#5D428D
secondary
#9DB07B
accent
#CC5CA4
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #5D428D

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

Preview Lab → · Contrast checker → · Palette generator →

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