#5E3ABC#5E3ABC

#5E3ABC is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.192 H 289.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#5E3ABC
RGBrgb(94, 58, 188)
HSLhsl(257, 53%, 48%)
HSVhsv(257, 69%, 74%)
CMYKcmyk(50%, 69.1%, 0%, 26.3%)
CIE-LABlab(36.05, 47.05, -63.00)
CIE-LCHlch(36.05, 78.63, 306.75°)
OKLaboklab(46.93% 0.0644 -0.1808)
OKLCHoklch(46.93% 0.192 289.6)
XYZxyz(15.2036, 9.0360, 48.5102)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3ABC #98BC3A
analogous
#3A57BC #5E3ABC #9F3ABC
triadic
#5E3ABC #BC5E3A #3ABC5E
tetradic
#5E3ABC #BC3A57 #98BC3A #3ABC9F
square
#5E3ABC #BC3A57 #98BC3A #3ABC9F
split-complementary
#5E3ABC #BC9F3A #57BC3A
monochromatic
#2F1D5E #472C8D #5E3ABC #8264CF #A893DE

Accessibility & contrast

On white

7.48
#5E3ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5E3ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3ABC
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3ABC#FFFFFF#000000##FFFFFF
##5E3ABC1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#3D5B76
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5e3abc;
/* rgb */ color: rgb(94, 58, 188);
/* oklch */ color: oklch(46.9% 0.192 289.6);
Tailwind
colors: {
  custom: {
    50: '#9473d1',
    500: '#5e3abc',
    950: '#000000',
  },
}
SCSS
$custom: #5e3abc;
$custom-light: #9473d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3abc",
  "rgb": {
    "r": 94,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 256.615,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4693,
    "c": 0.1919,
    "h": 289.6
  },
  "luminance": 0.09037
}

Semantic roles & 50–950 ramp

primary
#5E3ABC
secondary
#B7C989
accent
#DC4CB4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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