#5E3EBF#5E3EBF

#5E3EBF is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.7% C 0.191 H 288.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#5E3EBF
RGBrgb(94, 62, 191)
HSLhsl(255, 51%, 50%)
HSVhsv(255, 68%, 75%)
CMYKcmyk(50.8%, 67.5%, 0%, 25.1%)
CIE-LABlab(37.09, 45.74, -63.08)
CIE-LCHlch(37.09, 77.92, 305.95°)
OKLaboklab(47.75% 0.0602 -0.181)
OKLCHoklch(47.75% 0.191 288.4)
XYZxyz(15.7399, 9.5858, 50.3010)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3EBF #9FBF3E
analogous
#3E5EBF #5E3EBF #9F3EBF
triadic
#5E3EBF #BF5E3E #3EBF5E
tetradic
#5E3EBF #BF3E5E #9FBF3E #3EBF9F
square
#5E3EBF #BF3E5E #9FBF3E #3EBF9F
split-complementary
#5E3EBF #BF9F3E #5EBF3E
monochromatic
#312063 #472F91 #5E3EBF #846BCF #AA99DE

Accessibility & contrast

On white

7.20
#5E3EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5E3EBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3EBF
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3EBF#FFFFFF#000000##FFFFFF
##5E3EBF1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#3B5E79
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e3ebf;
/* rgb */ color: rgb(94, 62, 191);
/* oklch */ color: oklch(47.7% 0.191 288.4);
Tailwind
colors: {
  custom: {
    50: '#9475d3',
    500: '#5e3ebf',
    950: '#000000',
  },
}
SCSS
$custom: #5e3ebf;
$custom-light: #9475d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3ebf",
  "rgb": {
    "r": 94,
    "g": 62,
    "b": 191
  },
  "hsl": {
    "h": 254.884,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47748,
    "c": 0.19072,
    "h": 288.4
  },
  "luminance": 0.09587
}

Semantic roles & 50–950 ramp

primary
#5E3EBF
secondary
#BBCA8F
accent
#DA4DB7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E3EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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