#5E4EA4#5E4EA4

#5E4EA4 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.3% C 0.133 H 289.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5E4EA4
RGBrgb(94, 78, 164)
HSLhsl(251, 36%, 47%)
HSVhsv(251, 52%, 64%)
CMYKcmyk(42.7%, 52.4%, 0%, 35.7%)
CIE-LABlab(38.74, 28.36, -44.43)
CIE-LCHlch(38.74, 52.71, 302.55°)
OKLaboklab(48.35% 0.0434 -0.1262)
OKLCHoklch(48.35% 0.133 289)
XYZxyz(14.0395, 10.5083, 36.4033)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4EA4 #94A44E
analogous
#4E69A4 #5E4EA4 #894EA4
triadic
#5E4EA4 #A45E4E #4EA45E
tetradic
#5E4EA4 #A44E69 #94A44E #4EA489
square
#5E4EA4 #A44E69 #94A44E #4EA489
split-complementary
#5E4EA4 #A4894E #69A44E
monochromatic
#2E2751 #463A7B #5E4EA4 #8173BC #A69CD0

Accessibility & contrast

On white

6.77
#5E4EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5E4EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4EA4
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4EA4#FFFFFF#000000##FFFFFF
##5E4EA41.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285DA7
Deuteranopia (green-blind)
#2959A2
Tritanopia (blue-blind)
#4A6071
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e4ea4;
/* rgb */ color: rgb(94, 78, 164);
/* oklch */ color: oklch(48.3% 0.133 289.0);
Tailwind
colors: {
  custom: {
    50: '#9080bf',
    500: '#5e4ea4',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ea4;
$custom-light: #9080bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ea4",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 251.163,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48345,
    "c": 0.1334,
    "h": 289
  },
  "luminance": 0.10509
}

Semantic roles & 50–950 ramp

primary
#5E4EA4
secondary
#B5BD91
accent
#CC5CB7
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #5E4EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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