#5E4DAE#5E4DAE

#5E4DAE is a mid, vivid violet. Relative luminance 0.107; OKLCH L 48.9% C 0.149 H 287.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5E4DAE
RGBrgb(94, 77, 174)
HSLhsl(251, 39%, 49%)
HSVhsv(251, 56%, 68%)
CMYKcmyk(46%, 55.7%, 0%, 31.8%)
CIE-LABlab(39.14, 31.96, -49.73)
CIE-LCHlch(39.14, 59.11, 302.73°)
OKLaboklab(48.85% 0.0451 -0.1417)
OKLCHoklch(48.85% 0.149 287.6)
XYZxyz(14.9078, 10.7428, 41.3243)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4DAE #9DAE4D
analogous
#4D6DAE #5E4DAE #8E4DAE
triadic
#5E4DAE #AE5E4D #4DAE5E
tetradic
#5E4DAE #AE4D6D #9DAE4D #4DAE8E
square
#5E4DAE #AE4D6D #9DAE4D #4DAE8E
split-complementary
#5E4DAE #AE8E4D #6DAE4D
monochromatic
#302759 #473A84 #5E4DAE #8376C2 #AAA0D5

Accessibility & contrast

On white

6.67
#5E4DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5E4DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4DAE
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4DAE#FFFFFF#000000##FFFFFF
##5E4DAE1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175EB1
Deuteranopia (green-blind)
#175AAC
Tritanopia (blue-blind)
#456276
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e4dae;
/* rgb */ color: rgb(94, 77, 174);
/* oklch */ color: oklch(48.9% 0.149 287.6);
Tailwind
colors: {
  custom: {
    50: '#917fc7',
    500: '#5e4dae',
    950: '#000000',
  },
}
SCSS
$custom: #5e4dae;
$custom-light: #917fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4dae",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 174
  },
  "hsl": {
    "h": 250.515,
    "s": 38.645,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48853,
    "c": 0.14871,
    "h": 287.6
  },
  "luminance": 0.10743
}

Semantic roles & 50–950 ramp

primary
#5E4DAE
secondary
#BAC295
accent
#CF59BA
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5E4DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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