#5E4AC0#5E4AC0

#5E4AC0 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.7% C 0.177 H 285.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5E4AC0
RGBrgb(94, 74, 192)
HSLhsl(250, 48%, 52%)
HSVhsv(250, 61%, 75%)
CMYKcmyk(51%, 61.5%, 0%, 24.7%)
CIE-LABlab(39.72, 39.19, -59.38)
CIE-LCHlch(39.72, 71.15, 303.42°)
OKLaboklab(49.68% 0.0481 -0.1701)
OKLCHoklch(49.68% 0.177 285.8)
XYZxyz(16.5765, 11.0822, 51.1246)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4AC0 #ACC04A
analogous
#4A71C0 #5E4AC0 #994AC0
triadic
#5E4AC0 #C05E4A #4AC05E
tetradic
#5E4AC0 #C04A71 #ACC04A #4AC099
square
#5E4AC0 #C04A71 #ACC04A #4AC099
split-complementary
#5E4AC0 #C0994A #71C04A
monochromatic
#31256B #463598 #5E4AC0 #8677D0 #AFA5E0

Accessibility & contrast

On white

6.53
#5E4AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5E4AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4AC0
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4AC0#FFFFFF#000000##FFFFFF
##5E4AC01.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#39667E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5e4ac0;
/* rgb */ color: rgb(94, 74, 192);
/* oklch */ color: oklch(49.7% 0.177 285.8);
Tailwind
colors: {
  custom: {
    50: '#947dd4',
    500: '#5e4ac0',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ac0;
$custom-light: #947dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ac0",
  "rgb": {
    "r": 94,
    "g": 74,
    "b": 192
  },
  "hsl": {
    "h": 250.169,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49679,
    "c": 0.17678,
    "h": 285.8
  },
  "luminance": 0.11083
}

Semantic roles & 50–950 ramp

primary
#5E4AC0
secondary
#C4CD99
accent
#D850C1
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5E4AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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