#5E3ABA#5E3ABA

#5E3ABA is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.8% C 0.190 H 290.0°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#5E3ABA
RGBrgb(94, 58, 186)
HSLhsl(257, 52%, 48%)
HSVhsv(257, 69%, 73%)
CMYKcmyk(49.5%, 68.8%, 0%, 27.1%)
CIE-LABlab(35.89, 46.48, -62.10)
CIE-LCHlch(35.89, 77.57, 306.82°)
OKLaboklab(46.76% 0.0647 -0.1781)
OKLCHoklch(46.76% 0.19 290)
XYZxyz(14.9895, 8.9504, 47.3826)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3ABA #96BA3A
analogous
#3A56BA #5E3ABA #9E3ABA
triadic
#5E3ABA #BA5E3A #3ABA5E
tetradic
#5E3ABA #BA3A56 #96BA3A #3ABA9E
square
#5E3ABA #BA3A56 #96BA3A #3ABA9E
split-complementary
#5E3ABA #BA9E3A #56BA3A
monochromatic
#2F1D5D #462B8B #5E3ABA #8163CE #A792DD

Accessibility & contrast

On white

7.53
#5E3ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5E3ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3ABA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3ABA#FFFFFF#000000##FFFFFF
##5E3ABA1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#3F5A75
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5e3aba;
/* rgb */ color: rgb(94, 58, 186);
/* oklch */ color: oklch(46.8% 0.190 290.0);
Tailwind
colors: {
  custom: {
    50: '#9473d0',
    500: '#5e3aba',
    950: '#000000',
  },
}
SCSS
$custom: #5e3aba;
$custom-light: #9473d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3aba",
  "rgb": {
    "r": 94,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 256.875,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46761,
    "c": 0.1895,
    "h": 290
  },
  "luminance": 0.08951
}

Semantic roles & 50–950 ramp

primary
#5E3ABA
secondary
#B6C888
accent
#DC4CB3
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5E3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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