#5E3BB5#5E3BB5

#5E3BB5 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.5% C 0.182 H 290.7°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#5E3BB5
RGBrgb(94, 59, 181)
HSLhsl(257, 51%, 47%)
HSVhsv(257, 67%, 71%)
CMYKcmyk(48.1%, 67.4%, 0%, 29%)
CIE-LABlab(35.68, 44.51, -59.48)
CIE-LCHlch(35.68, 74.29, 306.81°)
OKLaboklab(46.49% 0.0646 -0.1704)
OKLCHoklch(46.49% 0.182 290.7)
XYZxyz(14.5182, 8.8433, 44.6491)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3BB5 #92B53B
analogous
#3B55B5 #5E3BB5 #9B3BB5
triadic
#5E3BB5 #B55E3B #3BB55E
tetradic
#5E3BB5 #B53B55 #92B53B #3BB59B
square
#5E3BB5 #B53B55 #92B53B #3BB59B
split-complementary
#5E3BB5 #B59B3B #55B53B
monochromatic
#2E1D59 #462C87 #5E3BB5 #8062CC #A590DB

Accessibility & contrast

On white

7.58
#5E3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5E3BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3BB5
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3BB5#FFFFFF#000000##FFFFFF
##5E3BB51.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#425973
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5e3bb5;
/* rgb */ color: rgb(94, 59, 181);
/* oklch */ color: oklch(46.5% 0.182 290.7);
Tailwind
colors: {
  custom: {
    50: '#9373cc',
    500: '#5e3bb5',
    950: '#000000',
  },
}
SCSS
$custom: #5e3bb5;
$custom-light: #9373cc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3bb5",
  "rgb": {
    "r": 94,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 257.213,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46486,
    "c": 0.18224,
    "h": 290.7
  },
  "luminance": 0.08844
}

Semantic roles & 50–950 ramp

primary
#5E3BB5
secondary
#B3C686
accent
#DA4DB2
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5E3BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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