#5E4EAB#5E4EAB

#5E4EAB is a mid, vivid violet. Relative luminance 0.108; OKLCH L 48.8% C 0.143 H 287.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5E4EAB
RGBrgb(94, 78, 171)
HSLhsl(250, 37%, 49%)
HSVhsv(250, 54%, 67%)
CMYKcmyk(45%, 54.4%, 0%, 32.9%)
CIE-LABlab(39.19, 30.45, -47.88)
CIE-LCHlch(39.19, 56.74, 302.45°)
OKLaboklab(48.82% 0.0438 -0.1363)
OKLCHoklch(48.82% 0.143 287.8)
XYZxyz(14.6891, 10.7682, 39.8247)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4EAB #9BAB4E
analogous
#4E6DAB #5E4EAB #8D4EAB
triadic
#5E4EAB #AB5E4E #4EAB5E
tetradic
#5E4EAB #AB4E6D #9BAB4E #4EAB8D
square
#5E4EAB #AB4E6D #9BAB4E #4EAB8D
split-complementary
#5E4EAB #AB8D4E #6DAB4E
monochromatic
#302857 #473B81 #5E4EAB #8376C0 #A9A0D4

Accessibility & contrast

On white

6.66
#5E4EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E4EAB
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4EAB#FFFFFF#000000##FFFFFF
##5E4EAB1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5EAE
Deuteranopia (green-blind)
#1F5AA9
Tritanopia (blue-blind)
#466275
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e4eab;
/* rgb */ color: rgb(94, 78, 171);
/* oklch */ color: oklch(48.8% 0.143 287.8);
Tailwind
colors: {
  custom: {
    50: '#9180c5',
    500: '#5e4eab',
    950: '#000000',
  },
}
SCSS
$custom: #5e4eab;
$custom-light: #9180c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4eab",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 171
  },
  "hsl": {
    "h": 250.323,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48822,
    "c": 0.14313,
    "h": 287.8
  },
  "luminance": 0.10769
}

Semantic roles & 50–950 ramp

primary
#5E4EAB
secondary
#B9C194
accent
#CD5ABA
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5E4EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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