#5D37BF#5D37BF

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

Color values

HEX#5D37BF
RGBrgb(93, 55, 191)
HSLhsl(257, 55%, 48%)
HSVhsv(257, 71%, 75%)
CMYKcmyk(51.3%, 71.2%, 0%, 25.1%)
CIE-LABlab(35.64, 49.31, -65.45)
CIE-LCHlch(35.64, 81.95, 306.99°)
OKLaboklab(46.69% 0.0651 -0.188)
OKLCHoklch(46.69% 0.199 289.1)
XYZxyz(15.2816, 8.8204, 50.1774)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D37BF #99BF37
analogous
#3755BF #5D37BF #A137BF
triadic
#5D37BF #BF5D37 #37BF5D
tetradic
#5D37BF #BF3755 #99BF37 #37BFA1
square
#5D37BF #BF3755 #99BF37 #37BFA1
split-complementary
#5D37BF #BFA137 #55BF37
monochromatic
#2F1C60 #46298F #5D37BF #8162D2 #A791DF

Accessibility & contrast

On white

7.60
#5D37BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5D37BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D37BF
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D37BF#FFFFFF#000000##FFFFFF
##5D37BF1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0050BC
Tritanopia (blue-blind)
#395B77
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d37bf;
/* rgb */ color: rgb(93, 55, 191);
/* oklch */ color: oklch(46.7% 0.199 289.1);
Tailwind
colors: {
  custom: {
    50: '#9471d3',
    500: '#5d37bf',
    950: '#000000',
  },
}
SCSS
$custom: #5d37bf;
$custom-light: #9471d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d37bf",
  "rgb": {
    "r": 93,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 256.765,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46687,
    "c": 0.19894,
    "h": 289.1
  },
  "luminance": 0.08821
}

Semantic roles & 50–950 ramp

primary
#5D37BF
secondary
#B8CA88
accent
#DF49B5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D37BF

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

Preview Lab → · Contrast checker → · Palette generator →

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