#5E3BB3#5E3BB3

#5E3BB3 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.3% C 0.180 H 291.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#5E3BB3
RGBrgb(94, 59, 179)
HSLhsl(258, 50%, 47%)
HSVhsv(258, 67%, 70%)
CMYKcmyk(47.5%, 67%, 0%, 29.8%)
CIE-LABlab(35.52, 43.95, -58.56)
CIE-LCHlch(35.52, 73.21, 306.89°)
OKLaboklab(46.32% 0.0648 -0.1677)
OKLCHoklch(46.32% 0.18 291.1)
XYZxyz(14.3145, 8.7618, 43.5761)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3BB3 #90B33B
analogous
#3B54B3 #5E3BB3 #9A3BB3
triadic
#5E3BB3 #B35E3B #3BB35E
tetradic
#5E3BB3 #B33B54 #90B33B #3BB39A
square
#5E3BB3 #B33B54 #90B33B #3BB39A
split-complementary
#5E3BB3 #B39A3B #54B33B
monochromatic
#2E1D57 #462C85 #5E3BB3 #7F60CB #A48EDA

Accessibility & contrast

On white

7.63
#5E3BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5E3BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3BB3
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3BB3#FFFFFF#000000##FFFFFF
##5E3BB31.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#435872
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5e3bb3;
/* rgb */ color: rgb(94, 59, 179);
/* oklch */ color: oklch(46.3% 0.180 291.1);
Tailwind
colors: {
  custom: {
    50: '#9373cb',
    500: '#5e3bb3',
    950: '#000000',
  },
}
SCSS
$custom: #5e3bb3;
$custom-light: #9373cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3bb3",
  "rgb": {
    "r": 94,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 257.5,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46322,
    "c": 0.1798,
    "h": 291.1
  },
  "luminance": 0.08762
}

Semantic roles & 50–950 ramp

primary
#5E3BB3
secondary
#B2C585
accent
#DA4EB1
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5E3BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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