#5E4EAA#5E4EAA

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

Color values

HEX#5E4EAA
RGBrgb(94, 78, 170)
HSLhsl(250, 37%, 49%)
HSVhsv(250, 54%, 67%)
CMYKcmyk(44.7%, 54.1%, 0%, 33.3%)
CIE-LABlab(39.12, 30.15, -47.39)
CIE-LCHlch(39.12, 56.17, 302.46°)
OKLaboklab(48.75% 0.0437 -0.1348)
OKLCHoklch(48.75% 0.142 288)
XYZxyz(14.5941, 10.7302, 39.3246)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4EAA #9AAA4E
analogous
#4E6CAA #5E4EAA #8C4EAA
triadic
#5E4EAA #AA5E4E #4EAA5E
tetradic
#5E4EAA #AA4E6C #9AAA4E #4EAA8C
square
#5E4EAA #AA4E6C #9AAA4E #4EAA8C
split-complementary
#5E4EAA #AA8C4E #6CAA4E
monochromatic
#302856 #473B80 #5E4EAA #8275C0 #A89FD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E4EAA#FFFFFF#000000##FFFFFF
##5E4EAA1.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)
#215EAD
Deuteranopia (green-blind)
#215AA8
Tritanopia (blue-blind)
#476274
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e4eaa;
/* rgb */ color: rgb(94, 78, 170);
/* oklch */ color: oklch(48.8% 0.142 288.0);
Tailwind
colors: {
  custom: {
    50: '#9080c4',
    500: '#5e4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #5e4eaa;
$custom-light: #9080c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4eaa",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 250.435,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48753,
    "c": 0.14175,
    "h": 288
  },
  "luminance": 0.10731
}

Semantic roles & 50–950 ramp

primary
#5E4EAA
secondary
#B8C094
accent
#CD5BB9
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5E4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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