#5E3ABE#5E3ABE

#5E3ABE is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.194 H 289.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#5E3ABE
RGBrgb(94, 58, 190)
HSLhsl(256, 53%, 49%)
HSVhsv(256, 69%, 75%)
CMYKcmyk(50.5%, 69.5%, 0%, 25.5%)
CIE-LABlab(36.22, 47.62, -63.91)
CIE-LCHlch(36.22, 79.70, 306.69°)
OKLaboklab(47.1% 0.0641 -0.1834)
OKLCHoklch(47.1% 0.194 289.2)
XYZxyz(15.4207, 9.1228, 49.6536)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3ABE #9ABE3A
analogous
#3A58BE #5E3ABE #A03ABE
triadic
#5E3ABE #BE5E3A #3ABE5E
tetradic
#5E3ABE #BE3A58 #9ABE3A #3ABEA0
square
#5E3ABE #BE3A58 #9ABE3A #3ABEA0
split-complementary
#5E3ABE #BEA03A #58BE3A
monochromatic
#301D60 #472C8F #5E3ABE #8265D0 #A894DE

Accessibility & contrast

On white

7.43
#5E3ABE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5E3ABE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3ABE
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3ABE#FFFFFF#000000##FFFFFF
##5E3ABE1.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#3C5C78
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5e3abe;
/* rgb */ color: rgb(94, 58, 190);
/* oklch */ color: oklch(47.1% 0.194 289.2);
Tailwind
colors: {
  custom: {
    50: '#9473d3',
    500: '#5e3abe',
    950: '#000000',
  },
}
SCSS
$custom: #5e3abe;
$custom-light: #9473d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3abe",
  "rgb": {
    "r": 94,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 256.364,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47101,
    "c": 0.19428,
    "h": 289.2
  },
  "luminance": 0.09124
}

Semantic roles & 50–950 ramp

primary
#5E3ABE
secondary
#B8CA8A
accent
#DD4BB5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E3ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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