#5E3EBE#5E3EBE

#5E3EBE is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.7% C 0.190 H 288.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5E3EBE
RGBrgb(94, 62, 190)
HSLhsl(255, 51%, 49%)
HSVhsv(255, 67%, 75%)
CMYKcmyk(50.5%, 67.4%, 0%, 25.5%)
CIE-LABlab(37.01, 45.45, -62.62)
CIE-LCHlch(37.01, 77.38, 305.97°)
OKLaboklab(47.67% 0.0603 -0.1797)
OKLCHoklch(47.67% 0.19 288.6)
XYZxyz(15.6303, 9.5419, 49.7234)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3EBE #9EBE3E
analogous
#3E5EBE #5E3EBE #9E3EBE
triadic
#5E3EBE #BE5E3E #3EBE5E
tetradic
#5E3EBE #BE3E5E #9EBE3E #3EBE9E
square
#5E3EBE #BE3E5E #9EBE3E #3EBE9E
split-complementary
#5E3EBE #BE9E3E #5EBE3E
monochromatic
#302062 #472F90 #5E3EBE #846BCF #AA99DE

Accessibility & contrast

On white

7.22
#5E3EBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5E3EBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3EBE
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3EBE#FFFFFF#000000##FFFFFF
##5E3EBE1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#3C5E79
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e3ebe;
/* rgb */ color: rgb(94, 62, 190);
/* oklch */ color: oklch(47.7% 0.190 288.6);
Tailwind
colors: {
  custom: {
    50: '#9475d3',
    500: '#5e3ebe',
    950: '#000000',
  },
}
SCSS
$custom: #5e3ebe;
$custom-light: #9475d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3ebe",
  "rgb": {
    "r": 94,
    "g": 62,
    "b": 190
  },
  "hsl": {
    "h": 255,
    "s": 50.794,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47665,
    "c": 0.18951,
    "h": 288.6
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

primary
#5E3EBE
secondary
#BBC98E
accent
#DA4EB7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E3EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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