#5D37BC#5D37BC

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

Color values

HEX#5D37BC
RGBrgb(93, 55, 188)
HSLhsl(257, 55%, 48%)
HSVhsv(257, 71%, 74%)
CMYKcmyk(50.5%, 70.7%, 0%, 26.3%)
CIE-LABlab(35.38, 48.47, -64.11)
CIE-LCHlch(35.38, 80.37, 307.09°)
OKLaboklab(46.43% 0.0657 -0.184)
OKLCHoklch(46.43% 0.195 289.7)
XYZxyz(14.9549, 8.6897, 48.4565)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D37BC #96BC37
analogous
#3753BC #5D37BC #A037BC
triadic
#5D37BC #BC5D37 #37BC5D
tetradic
#5D37BC #BC3753 #96BC37 #37BCA0
square
#5D37BC #BC3753 #96BC37 #37BCA0
split-complementary
#5D37BC #BCA037 #53BC37
monochromatic
#2E1B5D #46298D #5D37BC #8060D0 #A68FDE

Accessibility & contrast

On white

7.67
#5D37BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5D37BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D37BC
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D37BC#FFFFFF#000000##FFFFFF
##5D37BC1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d37bc;
/* rgb */ color: rgb(93, 55, 188);
/* oklch */ color: oklch(46.4% 0.195 289.7);
Tailwind
colors: {
  custom: {
    50: '#9471d1',
    500: '#5d37bc',
    950: '#000000',
  },
}
SCSS
$custom: #5d37bc;
$custom-light: #9471d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d37bc",
  "rgb": {
    "r": 93,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 257.143,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46426,
    "c": 0.19542,
    "h": 289.7
  },
  "luminance": 0.0869
}

Semantic roles & 50–950 ramp

primary
#5D37BC
secondary
#B6C986
accent
#DE4AB4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D37BC

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

Preview Lab → · Contrast checker → · Palette generator →

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