#5E428E#5E428E

#5E428E is a dark, vivid violet. Relative luminance 0.082; OKLCH L 44.7% C 0.122 H 298.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#5E428E
RGBrgb(94, 66, 142)
HSLhsl(262, 37%, 41%)
HSVhsv(262, 54%, 56%)
CMYKcmyk(33.8%, 53.5%, 0%, 44.3%)
CIE-LABlab(34.46, 29.43, -37.99)
CIE-LCHlch(34.46, 48.06, 307.76°)
OKLaboklab(44.72% 0.0579 -0.1073)
OKLCHoklch(44.72% 0.122 298.3)
XYZxyz(11.4456, 8.2290, 26.5713)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E428E #728E42
analogous
#424C8E #5E428E #84428E
triadic
#5E428E #8E5E42 #428E5E
tetradic
#5E428E #8E424C #728E42 #428E84
square
#5E428E #8E424C #728E42 #428E84
split-complementary
#5E428E #8E8442 #4C8E42
monochromatic
#271B3A #422F64 #5E428E #7B5BB3 #9D84C6

Accessibility & contrast

On white

7.94
#5E428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5E428E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E428E
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E428E#FFFFFF#000000##FFFFFF
##5E428E1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e428e;
/* rgb */ color: rgb(94, 66, 142);
/* oklch */ color: oklch(44.7% 0.122 298.3);
Tailwind
colors: {
  custom: {
    50: '#8e77af',
    500: '#5e428e',
    950: '#000000',
  },
}
SCSS
$custom: #5e428e;
$custom-light: #8e77af;
$custom-dark: #000000;
JSON
{
  "hex": "#5e428e",
  "rgb": {
    "r": 94,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 262.105,
    "s": 36.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44716,
    "c": 0.12188,
    "h": 298.3
  },
  "luminance": 0.08229
}

Semantic roles & 50–950 ramp

primary
#5E428E
secondary
#9DB17B
accent
#CD5BA3
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0D0910
muted
#7D7B7F

Preview Lab

Preview with #5E428E

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

Preview Lab → · Contrast checker → · Palette generator →

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