#5E3BBF#5E3BBF

#5E3BBF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.3% C 0.194 H 288.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#5E3BBF
RGBrgb(94, 59, 191)
HSLhsl(256, 53%, 49%)
HSVhsv(256, 69%, 75%)
CMYKcmyk(50.8%, 69.1%, 0%, 25.1%)
CIE-LABlab(36.50, 47.37, -64.04)
CIE-LCHlch(36.50, 79.66, 306.49°)
OKLaboklab(47.32% 0.063 -0.1838)
OKLCHoklch(47.32% 0.194 288.9)
XYZxyz(15.5813, 9.2685, 50.2481)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3BBF #9CBF3B
analogous
#3B5ABF #5E3BBF #A03BBF
triadic
#5E3BBF #BF5E3B #3BBF5E
tetradic
#5E3BBF #BF3B5A #9CBF3B #3BBFA0
square
#5E3BBF #BF3B5A #9CBF3B #3BBFA0
split-complementary
#5E3BBF #BFA03B #5ABF3B
monochromatic
#301E61 #472D90 #5E3BBF #8367D0 #A996DF

Accessibility & contrast

On white

7.36
#5E3BBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5E3BBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3BBF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3BBF#FFFFFF#000000##FFFFFF
##5E3BBF1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#3B5D78
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e3bbf;
/* rgb */ color: rgb(94, 59, 191);
/* oklch */ color: oklch(47.3% 0.194 288.9);
Tailwind
colors: {
  custom: {
    50: '#9474d3',
    500: '#5e3bbf',
    950: '#000000',
  },
}
SCSS
$custom: #5e3bbf;
$custom-light: #9474d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3bbf",
  "rgb": {
    "r": 94,
    "g": 59,
    "b": 191
  },
  "hsl": {
    "h": 255.909,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47324,
    "c": 0.1943,
    "h": 288.9
  },
  "luminance": 0.09269
}

Semantic roles & 50–950 ramp

primary
#5E3BBF
secondary
#BACA8C
accent
#DC4CB6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E3BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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