#5D37BE#5D37BE

#5D37BE is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.6% C 0.198 H 289.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#5D37BE
RGBrgb(93, 55, 190)
HSLhsl(257, 55%, 48%)
HSVhsv(257, 71%, 75%)
CMYKcmyk(51.1%, 71.1%, 0%, 25.5%)
CIE-LABlab(35.55, 49.03, -65.01)
CIE-LCHlch(35.55, 81.42, 307.02°)
OKLaboklab(46.6% 0.0653 -0.1867)
OKLCHoklch(46.6% 0.198 289.3)
XYZxyz(15.1720, 8.7766, 49.5998)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D37BE #98BE37
analogous
#3754BE #5D37BE #A037BE
triadic
#5D37BE #BE5D37 #37BE5D
tetradic
#5D37BE #BE3754 #98BE37 #37BEA0
square
#5D37BE #BE3754 #98BE37 #37BEA0
split-complementary
#5D37BE #BEA037 #54BE37
monochromatic
#2F1C5F #46298F #5D37BE #8161D1 #A790DF

Accessibility & contrast

On white

7.62
#5D37BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D37BE
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D37BE#FFFFFF#000000##FFFFFF
##5D37BE1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#0050BB
Tritanopia (blue-blind)
#3A5A77
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d37be;
/* rgb */ color: rgb(93, 55, 190);
/* oklch */ color: oklch(46.6% 0.198 289.3);
Tailwind
colors: {
  custom: {
    50: '#9471d3',
    500: '#5d37be',
    950: '#000000',
  },
}
SCSS
$custom: #5d37be;
$custom-light: #9471d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d37be",
  "rgb": {
    "r": 93,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 256.889,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.466,
    "c": 0.19777,
    "h": 289.3
  },
  "luminance": 0.08777
}

Semantic roles & 50–950 ramp

primary
#5D37BE
secondary
#B7CA87
accent
#DE49B4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D37BE

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

Preview Lab → · Contrast checker → · Palette generator →

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