#5E37BA#5E37BA

#5E37BA is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.4% C 0.193 H 290.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5E37BA
RGBrgb(94, 55, 186)
HSLhsl(258, 54%, 47%)
HSVhsv(258, 70%, 73%)
CMYKcmyk(49.5%, 70.4%, 0%, 27.1%)
CIE-LABlab(35.31, 48.07, -63.03)
CIE-LCHlch(35.31, 79.27, 307.33°)
OKLaboklab(46.35% 0.0676 -0.1808)
OKLCHoklch(46.35% 0.193 290.5)
XYZxyz(14.8427, 8.6566, 47.3337)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E37BA #93BA37
analogous
#3751BA #5E37BA #A037BA
triadic
#5E37BA #BA5E37 #37BA5E
tetradic
#5E37BA #BA3751 #93BA37 #37BAA0
square
#5E37BA #BA3751 #93BA37 #37BAA0
split-complementary
#5E37BA #BAA037 #51BA37
monochromatic
#2E1B5C #46298B #5E37BA #805FD0 #A68EDE

Accessibility & contrast

On white

7.69
#5E37BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5E37BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E37BA
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E37BA#FFFFFF#000000##FFFFFF
##5E37BA1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#3F5974
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e37ba;
/* rgb */ color: rgb(94, 55, 186);
/* oklch */ color: oklch(46.4% 0.193 290.5);
Tailwind
colors: {
  custom: {
    50: '#9471d0',
    500: '#5e37ba',
    950: '#000000',
  },
}
SCSS
$custom: #5e37ba;
$custom-light: #9471d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e37ba",
  "rgb": {
    "r": 94,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 257.863,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46351,
    "c": 0.19304,
    "h": 290.5
  },
  "luminance": 0.08657
}

Semantic roles & 50–950 ramp

primary
#5E37BA
secondary
#B4C885
accent
#DE4AB2
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5E37BA

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

Preview Lab → · Contrast checker → · Palette generator →

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