#5D37BB#5D37BB

#5D37BB is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.194 H 289.8°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5D37BB
RGBrgb(93, 55, 187)
HSLhsl(257, 55%, 47%)
HSVhsv(257, 71%, 73%)
CMYKcmyk(50.3%, 70.6%, 0%, 26.7%)
CIE-LABlab(35.30, 48.18, -63.66)
CIE-LCHlch(35.30, 79.84, 307.12°)
OKLaboklab(46.34% 0.0659 -0.1827)
OKLCHoklch(46.34% 0.194 289.8)
XYZxyz(14.8475, 8.6468, 47.8907)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D37BB #95BB37
analogous
#3753BB #5D37BB #9F37BB
triadic
#5D37BB #BB5D37 #37BB5D
tetradic
#5D37BB #BB3753 #95BB37 #37BB9F
square
#5D37BB #BB3753 #95BB37 #37BB9F
split-complementary
#5D37BB #BB9F37 #53BB37
monochromatic
#2E1B5C #45298C #5D37BB #805FD0 #A58EDE

Accessibility & contrast

On white

7.69
#5D37BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5D37BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D37BB
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D37BB#FFFFFF#000000##FFFFFF
##5D37BB1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#3C5975
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d37bb;
/* rgb */ color: rgb(93, 55, 187);
/* oklch */ color: oklch(46.3% 0.194 289.8);
Tailwind
colors: {
  custom: {
    50: '#9471d0',
    500: '#5d37bb',
    950: '#000000',
  },
}
SCSS
$custom: #5d37bb;
$custom-light: #9471d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d37bb",
  "rgb": {
    "r": 93,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 257.273,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46339,
    "c": 0.19424,
    "h": 289.8
  },
  "luminance": 0.08647
}

Semantic roles & 50–950 ramp

primary
#5D37BB
secondary
#B5C985
accent
#DE4AB3
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5D37BB

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

Preview Lab → · Contrast checker → · Palette generator →

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