#5E4ABE#5E4ABE

#5E4ABE is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.5% C 0.174 H 286.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5E4ABE
RGBrgb(94, 74, 190)
HSLhsl(250, 47%, 52%)
HSVhsv(250, 61%, 75%)
CMYKcmyk(50.5%, 61.1%, 0%, 25.5%)
CIE-LABlab(39.57, 38.58, -58.45)
CIE-LCHlch(39.57, 70.04, 303.43°)
OKLaboklab(49.52% 0.0482 -0.1674)
OKLCHoklch(49.52% 0.174 286.1)
XYZxyz(16.3564, 10.9941, 49.9655)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4ABE #AABE4A
analogous
#4A70BE #5E4ABE #984ABE
triadic
#5E4ABE #BE5E4A #4ABE5E
tetradic
#5E4ABE #BE4A70 #AABE4A #4ABE98
square
#5E4ABE #BE4A70 #AABE4A #4ABE98
split-complementary
#5E4ABE #BE984A #70BE4A
monochromatic
#312568 #463695 #5E4ABE #8677CE #AEA4DE

Accessibility & contrast

On white

6.56
#5E4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5E4ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4ABE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4ABE#FFFFFF#000000##FFFFFF
##5E4ABE1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#3B657D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5e4abe;
/* rgb */ color: rgb(94, 74, 190);
/* oklch */ color: oklch(49.5% 0.174 286.1);
Tailwind
colors: {
  custom: {
    50: '#937dd2',
    500: '#5e4abe',
    950: '#000000',
  },
}
SCSS
$custom: #5e4abe;
$custom-light: #937dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4abe",
  "rgb": {
    "r": 94,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 250.345,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49524,
    "c": 0.17419,
    "h": 286.1
  },
  "luminance": 0.10995
}

Semantic roles & 50–950 ramp

primary
#5E4ABE
secondary
#C3CB98
accent
#D751C0
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5E4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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