#5E37BD#5E37BD

#5E37BD is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.6% C 0.197 H 289.9°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#5E37BD
RGBrgb(94, 55, 189)
HSLhsl(257, 55%, 48%)
HSVhsv(257, 71%, 74%)
CMYKcmyk(50.3%, 70.9%, 0%, 25.9%)
CIE-LABlab(35.57, 48.91, -64.39)
CIE-LCHlch(35.57, 80.86, 307.22°)
OKLaboklab(46.61% 0.067 -0.1848)
OKLCHoklch(46.61% 0.197 289.9)
XYZxyz(15.1649, 8.7855, 49.0310)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E37BD #96BD37
analogous
#3753BD #5E37BD #A137BD
triadic
#5E37BD #BD5E37 #37BD5E
tetradic
#5E37BD #BD3753 #96BD37 #37BDA1
square
#5E37BD #BD3753 #96BD37 #37BDA1
split-complementary
#5E37BD #BDA137 #53BD37
monochromatic
#2F1B5E #46298E #5E37BD #8160D1 #A790DF

Accessibility & contrast

On white

7.62
#5E37BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5E37BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E37BD
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E37BD#FFFFFF#000000##FFFFFF
##5E37BD1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#3D5A76
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5e37bd;
/* rgb */ color: rgb(94, 55, 189);
/* oklch */ color: oklch(46.6% 0.197 289.9);
Tailwind
colors: {
  custom: {
    50: '#9471d2',
    500: '#5e37bd',
    950: '#000000',
  },
}
SCSS
$custom: #5e37bd;
$custom-light: #9471d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e37bd",
  "rgb": {
    "r": 94,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 257.463,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4661,
    "c": 0.19657,
    "h": 289.9
  },
  "luminance": 0.08786
}

Semantic roles & 50–950 ramp

primary
#5E37BD
secondary
#B6C986
accent
#DE4AB3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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