#5E3ED0#5E3ED0

#5E3ED0 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.2% C 0.211 H 285.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5E3ED0
RGBrgb(94, 62, 208)
HSLhsl(253, 61%, 53%)
HSVhsv(253, 70%, 82%)
CMYKcmyk(54.8%, 70.2%, 0%, 18.4%)
CIE-LABlab(38.51, 50.67, -70.65)
CIE-LCHlch(38.51, 86.94, 305.65°)
OKLaboklab(49.21% 0.0573 -0.2032)
OKLCHoklch(49.21% 0.211 285.7)
XYZxyz(17.7205, 10.3780, 60.7317)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3ED0 #B0D03E
analogous
#3E67D0 #5E3ED0 #A73ED0
triadic
#5E3ED0 #D05E3E #3ED05E
tetradic
#5E3ED0 #D03E67 #B0D03E #3ED0A7
square
#5E3ED0 #D03E67 #B0D03E #3ED0A7
split-complementary
#5E3ED0 #D0A73E #67D03E
monochromatic
#311D77 #4529A8 #5E3ED0 #876FDC #B0A0E8

Accessibility & contrast

On white

6.83
#5E3ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5E3ED0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3ED0
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3ED0#FFFFFF#000000##FFFFFF
##5E3ED01.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD4
Deuteranopia (green-blind)
#0056CD
Tritanopia (blue-blind)
#2B6583
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e3ed0;
/* rgb */ color: rgb(94, 62, 208);
/* oklch */ color: oklch(49.2% 0.211 285.7);
Tailwind
colors: {
  custom: {
    50: '#9776e0',
    500: '#5e3ed0',
    950: '#000000',
  },
}
SCSS
$custom: #5e3ed0;
$custom-light: #9776e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3ed0",
  "rgb": {
    "r": 94,
    "g": 62,
    "b": 208
  },
  "hsl": {
    "h": 253.151,
    "s": 60.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49207,
    "c": 0.21111,
    "h": 285.7
  },
  "luminance": 0.10379
}

Semantic roles & 50–950 ramp

primary
#5E3ED0
secondary
#C7D495
accent
#E444C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5E3ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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