#5E3BB6#5E3BB6

#5E3BB6 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.6% C 0.183 H 290.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5E3BB6
RGBrgb(94, 59, 182)
HSLhsl(257, 51%, 47%)
HSVhsv(257, 68%, 71%)
CMYKcmyk(48.4%, 67.6%, 0%, 28.6%)
CIE-LABlab(35.76, 44.80, -59.94)
CIE-LCHlch(35.76, 74.84, 306.77°)
OKLaboklab(46.57% 0.0644 -0.1718)
OKLCHoklch(46.57% 0.183 290.6)
XYZxyz(14.6212, 8.8844, 45.1914)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3BB6 #93B63B
analogous
#3B56B6 #5E3BB6 #9B3BB6
triadic
#5E3BB6 #B65E3B #3BB65E
tetradic
#5E3BB6 #B63B56 #93B63B #3BB69B
square
#5E3BB6 #B63B56 #93B63B #3BB69B
split-complementary
#5E3BB6 #B69B3B #56B63B
monochromatic
#2E1D5A #462C88 #5E3BB6 #8062CC #A690DB

Accessibility & contrast

On white

7.56
#5E3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5E3BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3BB6
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3BB6#FFFFFF#000000##FFFFFF
##5E3BB61.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#415973
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5e3bb6;
/* rgb */ color: rgb(94, 59, 182);
/* oklch */ color: oklch(46.6% 0.183 290.6);
Tailwind
colors: {
  custom: {
    50: '#9373cd',
    500: '#5e3bb6',
    950: '#000000',
  },
}
SCSS
$custom: #5e3bb6;
$custom-light: #9373cd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3bb6",
  "rgb": {
    "r": 94,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 257.073,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46569,
    "c": 0.18345,
    "h": 290.6
  },
  "luminance": 0.08885
}

Semantic roles & 50–950 ramp

primary
#5E3BB6
secondary
#B4C687
accent
#DB4DB2
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5E3BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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