#5E37BC#5E37BC

#5E37BC is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.195 H 290.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#5E37BC
RGBrgb(94, 55, 188)
HSLhsl(258, 55%, 48%)
HSVhsv(258, 71%, 74%)
CMYKcmyk(50%, 70.7%, 0%, 26.3%)
CIE-LABlab(35.48, 48.63, -63.94)
CIE-LCHlch(35.48, 80.33, 307.26°)
OKLaboklab(46.52% 0.0672 -0.1835)
OKLCHoklch(46.52% 0.195 290.1)
XYZxyz(15.0568, 8.7423, 48.4613)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E37BC #95BC37
analogous
#3752BC #5E37BC #A137BC
triadic
#5E37BC #BC5E37 #37BC5E
tetradic
#5E37BC #BC3752 #95BC37 #37BCA1
square
#5E37BC #BC3752 #95BC37 #37BCA1
split-complementary
#5E37BC #BCA137 #52BC37
monochromatic
#2F1B5D #46298D #5E37BC #8160D0 #A68FDE

Accessibility & contrast

On white

7.64
#5E37BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5E37BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E37BC
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E37BC#FFFFFF#000000##FFFFFF
##5E37BC1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0050B9
Tritanopia (blue-blind)
#3E5976
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e37bc;
/* rgb */ color: rgb(94, 55, 188);
/* oklch */ color: oklch(46.5% 0.195 290.1);
Tailwind
colors: {
  custom: {
    50: '#9471d1',
    500: '#5e37bc',
    950: '#000000',
  },
}
SCSS
$custom: #5e37bc;
$custom-light: #9471d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e37bc",
  "rgb": {
    "r": 94,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 257.594,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46524,
    "c": 0.19539,
    "h": 290.1
  },
  "luminance": 0.08743
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E37BC

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

Preview Lab → · Contrast checker → · Palette generator →

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