#5D37BD#5D37BD

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

Color values

HEX#5D37BD
RGBrgb(93, 55, 189)
HSLhsl(257, 55%, 48%)
HSVhsv(257, 71%, 74%)
CMYKcmyk(50.8%, 70.9%, 0%, 25.9%)
CIE-LABlab(35.47, 48.75, -64.56)
CIE-LCHlch(35.47, 80.90, 307.06°)
OKLaboklab(46.51% 0.0655 -0.1853)
OKLCHoklch(46.51% 0.197 289.5)
XYZxyz(15.0630, 8.7330, 49.0262)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D37BD #97BD37
analogous
#3754BD #5D37BD #A037BD
triadic
#5D37BD #BD5D37 #37BD5D
tetradic
#5D37BD #BD3754 #97BD37 #37BDA0
square
#5D37BD #BD3754 #97BD37 #37BDA0
split-complementary
#5D37BD #BDA037 #54BD37
monochromatic
#2E1B5E #46298E #5D37BD #8060D1 #A690DF

Accessibility & contrast

On white

7.65
#5D37BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D37BD
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D37BD#FFFFFF#000000##FFFFFF
##5D37BD1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#3B5A76
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d37bd;
/* rgb */ color: rgb(93, 55, 189);
/* oklch */ color: oklch(46.5% 0.197 289.5);
Tailwind
colors: {
  custom: {
    50: '#9471d2',
    500: '#5d37bd',
    950: '#000000',
  },
}
SCSS
$custom: #5d37bd;
$custom-light: #9471d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d37bd",
  "rgb": {
    "r": 93,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 257.015,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46513,
    "c": 0.19659,
    "h": 289.5
  },
  "luminance": 0.08734
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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