#5E37BE#5E37BE

#5E37BE is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.198 H 289.7°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#5E37BE
RGBrgb(94, 55, 190)
HSLhsl(257, 55%, 48%)
HSVhsv(257, 71%, 75%)
CMYKcmyk(50.5%, 71.1%, 0%, 25.5%)
CIE-LABlab(35.65, 49.19, -64.84)
CIE-LCHlch(35.65, 81.39, 307.19°)
OKLaboklab(46.7% 0.0668 -0.1861)
OKLCHoklch(46.7% 0.198 289.7)
XYZxyz(15.2739, 8.8291, 49.6046)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E37BE #97BE37
analogous
#3754BE #5E37BE #A137BE
triadic
#5E37BE #BE5E37 #37BE5E
tetradic
#5E37BE #BE3754 #97BE37 #37BEA1
square
#5E37BE #BE3754 #97BE37 #37BEA1
split-complementary
#5E37BE #BEA137 #54BE37
monochromatic
#2F1C5F #47298F #5E37BE #8161D1 #A790DF

Accessibility & contrast

On white

7.59
#5E37BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5E37BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E37BE
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E37BE#FFFFFF#000000##FFFFFF
##5E37BE1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#3C5A77
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5e37be;
/* rgb */ color: rgb(94, 55, 190);
/* oklch */ color: oklch(46.7% 0.198 289.7);
Tailwind
colors: {
  custom: {
    50: '#9571d3',
    500: '#5e37be',
    950: '#000000',
  },
}
SCSS
$custom: #5e37be;
$custom-light: #9571d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e37be",
  "rgb": {
    "r": 94,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 257.333,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46697,
    "c": 0.19774,
    "h": 289.7
  },
  "luminance": 0.0883
}

Semantic roles & 50–950 ramp

primary
#5E37BE
secondary
#B7CA87
accent
#DE49B3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E37BE

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

Preview Lab → · Contrast checker → · Palette generator →

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