#5E4EAE#5E4EAE

#5E4EAE is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.0% C 0.147 H 287.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5E4EAE
RGBrgb(94, 78, 174)
HSLhsl(250, 38%, 49%)
HSVhsv(250, 55%, 68%)
CMYKcmyk(46%, 55.2%, 0%, 31.8%)
CIE-LABlab(39.38, 31.35, -49.34)
CIE-LCHlch(39.38, 58.46, 302.43°)
OKLaboklab(49.03% 0.0439 -0.1406)
OKLCHoklch(49.03% 0.147 287.3)
XYZxyz(14.9783, 10.8838, 41.3478)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4EAE #9EAE4E
analogous
#4E6EAE #5E4EAE #8E4EAE
triadic
#5E4EAE #AE5E4E #4EAE5E
tetradic
#5E4EAE #AE4E6E #9EAE4E #4EAE8E
square
#5E4EAE #AE4E6E #9EAE4E #4EAE8E
split-complementary
#5E4EAE #AE8E4E #6EAE4E
monochromatic
#302859 #473B84 #5E4EAE #8477C2 #AAA1D5

Accessibility & contrast

On white

6.61
#5E4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5E4EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4EAE
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4EAE#FFFFFF#000000##FFFFFF
##5E4EAE1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5FB1
Deuteranopia (green-blind)
#1A5AAC
Tritanopia (blue-blind)
#456376
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5e4eae;
/* rgb */ color: rgb(94, 78, 174);
/* oklch */ color: oklch(49.0% 0.147 287.3);
Tailwind
colors: {
  custom: {
    50: '#9180c7',
    500: '#5e4eae',
    950: '#000000',
  },
}
SCSS
$custom: #5e4eae;
$custom-light: #9180c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4eae",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 250,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49031,
    "c": 0.14726,
    "h": 287.3
  },
  "luminance": 0.10884
}

Semantic roles & 50–950 ramp

primary
#5E4EAE
secondary
#BBC296
accent
#CE5ABB
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5E4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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