#5D3BB7#5D3BB7

#5D3BB7 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.6% C 0.185 H 289.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#5D3BB7
RGBrgb(93, 59, 183)
HSLhsl(256, 51%, 47%)
HSVhsv(256, 68%, 72%)
CMYKcmyk(49.2%, 67.8%, 0%, 28.2%)
CIE-LABlab(35.74, 44.90, -60.57)
CIE-LCHlch(35.74, 75.40, 306.55°)
OKLaboklab(46.55% 0.0628 -0.1737)
OKLCHoklch(46.55% 0.185 289.9)
XYZxyz(14.6230, 8.8734, 45.7328)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3BB7 #95B73B
analogous
#3B57B7 #5D3BB7 #9B3BB7
triadic
#5D3BB7 #B75D3B #3BB75D
tetradic
#5D3BB7 #B73B57 #95B73B #3BB79B
square
#5D3BB7 #B73B57 #95B73B #3BB79B
split-complementary
#5D3BB7 #B79B3B #57B73B
monochromatic
#2E1D5A #452C89 #5D3BB7 #8063CD #A591DC

Accessibility & contrast

On white

7.57
#5D3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5D3BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3BB7
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3BB7#FFFFFF#000000##FFFFFF
##5D3BB71.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#3F5A74
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d3bb7;
/* rgb */ color: rgb(93, 59, 183);
/* oklch */ color: oklch(46.6% 0.185 289.9);
Tailwind
colors: {
  custom: {
    50: '#9373ce',
    500: '#5d3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #5d3bb7;
$custom-light: #9373ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3bb7",
  "rgb": {
    "r": 93,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 256.452,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46554,
    "c": 0.18469,
    "h": 289.9
  },
  "luminance": 0.08874
}

Semantic roles & 50–950 ramp

primary
#5D3BB7
secondary
#B5C687
accent
#DB4DB4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5D3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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