#5E37B7#5E37B7

#5E37B7 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.1% C 0.190 H 291.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#5E37B7
RGBrgb(94, 55, 183)
HSLhsl(258, 54%, 47%)
HSVhsv(258, 70%, 72%)
CMYKcmyk(48.6%, 69.9%, 0%, 28.2%)
CIE-LABlab(35.06, 47.23, -61.67)
CIE-LCHlch(35.06, 77.68, 307.44°)
OKLaboklab(46.1% 0.0681 -0.1768)
OKLCHoklch(46.1% 0.19 291.1)
XYZxyz(14.5271, 8.5304, 45.6717)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E37B7 #90B737
analogous
#3750B7 #5E37B7 #9E37B7
triadic
#5E37B7 #B75E37 #37B75E
tetradic
#5E37B7 #B73750 #90B737 #37B79E
square
#5E37B7 #B73750 #90B737 #37B79E
split-complementary
#5E37B7 #B79E37 #50B737
monochromatic
#2E1B59 #462988 #5E37B7 #7F5DCE #A48CDC

Accessibility & contrast

On white

7.76
#5E37B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5E37B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E37B7
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E37B7#FFFFFF#000000##FFFFFF
##5E37B71.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0050B4
Tritanopia (blue-blind)
#415873
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5e37b7;
/* rgb */ color: rgb(94, 55, 183);
/* oklch */ color: oklch(46.1% 0.190 291.1);
Tailwind
colors: {
  custom: {
    50: '#9471ce',
    500: '#5e37b7',
    950: '#000000',
  },
}
SCSS
$custom: #5e37b7;
$custom-light: #9471ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5e37b7",
  "rgb": {
    "r": 94,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 258.281,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46095,
    "c": 0.1895,
    "h": 291.1
  },
  "luminance": 0.08531
}

Semantic roles & 50–950 ramp

primary
#5E37B7
secondary
#B2C783
accent
#DD4BB1
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5E37B7

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

Preview Lab → · Contrast checker → · Palette generator →

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