#5E37BF#5E37BF

#5E37BF is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.8% C 0.199 H 289.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#5E37BF
RGBrgb(94, 55, 191)
HSLhsl(257, 55%, 48%)
HSVhsv(257, 71%, 75%)
CMYKcmyk(50.8%, 71.2%, 0%, 25.1%)
CIE-LABlab(35.74, 49.47, -65.28)
CIE-LCHlch(35.74, 81.91, 307.16°)
OKLaboklab(46.78% 0.0666 -0.1874)
OKLCHoklch(46.78% 0.199 289.5)
XYZxyz(15.3835, 8.8730, 50.1822)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E37BF #98BF37
analogous
#3754BF #5E37BF #A237BF
triadic
#5E37BF #BF5E37 #37BF5E
tetradic
#5E37BF #BF3754 #98BF37 #37BFA2
square
#5E37BF #BF3754 #98BF37 #37BFA2
split-complementary
#5E37BF #BFA237 #54BF37
monochromatic
#2F1C60 #47298F #5E37BF #8262D2 #A891DF

Accessibility & contrast

On white

7.57
#5E37BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E37BF
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E37BF#FFFFFF#000000##FFFFFF
##5E37BF1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0051BC
Tritanopia (blue-blind)
#3C5B77
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5e37bf;
/* rgb */ color: rgb(94, 55, 191);
/* oklch */ color: oklch(46.8% 0.199 289.5);
Tailwind
colors: {
  custom: {
    50: '#9571d3',
    500: '#5e37bf',
    950: '#000000',
  },
}
SCSS
$custom: #5e37bf;
$custom-light: #9571d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e37bf",
  "rgb": {
    "r": 94,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 257.206,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46784,
    "c": 0.19891,
    "h": 289.5
  },
  "luminance": 0.08874
}

Semantic roles & 50–950 ramp

primary
#5E37BF
secondary
#B7CA88
accent
#DF49B4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E37BF

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

Preview Lab → · Contrast checker → · Palette generator →

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