#5E3BB9#5E3BB9

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

Color values

HEX#5E3BB9
RGBrgb(94, 59, 185)
HSLhsl(257, 52%, 48%)
HSVhsv(257, 68%, 73%)
CMYKcmyk(49.2%, 68.1%, 0%, 27.5%)
CIE-LABlab(36.00, 45.66, -61.32)
CIE-LCHlch(36.00, 76.45, 306.67°)
OKLaboklab(46.82% 0.0639 -0.1758)
OKLCHoklch(46.82% 0.187 290)
XYZxyz(14.9345, 9.0098, 46.8417)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3BB9 #96B93B
analogous
#3B57B9 #5E3BB9 #9D3BB9
triadic
#5E3BB9 #B95E3B #3BB95E
tetradic
#5E3BB9 #B93B57 #96B93B #3BB99D
square
#5E3BB9 #B93B57 #96B93B #3BB99D
split-complementary
#5E3BB9 #B99D3B #57B93B
monochromatic
#2F1D5C #462C8B #5E3BB9 #8164CD #A792DC

Accessibility & contrast

On white

7.49
#5E3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5E3BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3BB9
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3BB9#FFFFFF#000000##FFFFFF
##5E3BB91.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#3F5B75
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5e3bb9;
/* rgb */ color: rgb(94, 59, 185);
/* oklch */ color: oklch(46.8% 0.187 290.0);
Tailwind
colors: {
  custom: {
    50: '#9473cf',
    500: '#5e3bb9',
    950: '#000000',
  },
}
SCSS
$custom: #5e3bb9;
$custom-light: #9473cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3bb9",
  "rgb": {
    "r": 94,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 256.667,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46818,
    "c": 0.18709,
    "h": 290
  },
  "luminance": 0.0901
}

Semantic roles & 50–950 ramp

primary
#5E3BB9
secondary
#B6C788
accent
#DB4DB4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5E3BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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