#5D3BB6#5D3BB6

#5D3BB6 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.5% C 0.183 H 290.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#5D3BB6
RGBrgb(93, 59, 182)
HSLhsl(257, 51%, 47%)
HSVhsv(257, 68%, 71%)
CMYKcmyk(48.9%, 67.6%, 0%, 28.6%)
CIE-LABlab(35.66, 44.62, -60.11)
CIE-LCHlch(35.66, 74.86, 306.58°)
OKLaboklab(46.47% 0.063 -0.1723)
OKLCHoklch(46.47% 0.183 290.1)
XYZxyz(14.5193, 8.8319, 45.1866)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3BB6 #94B63B
analogous
#3B57B6 #5D3BB6 #9A3BB6
triadic
#5D3BB6 #B65D3B #3BB65D
tetradic
#5D3BB6 #B63B57 #94B63B #3BB69A
square
#5D3BB6 #B63B57 #94B63B #3BB69A
split-complementary
#5D3BB6 #B69A3B #57B63B
monochromatic
#2E1D5A #452C88 #5D3BB6 #7F62CC #A590DB

Accessibility & contrast

On white

7.59
#5D3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D3BB6
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3BB6#FFFFFF#000000##FFFFFF
##5D3BB61.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#3F5A73
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d3bb6;
/* rgb */ color: rgb(93, 59, 182);
/* oklch */ color: oklch(46.5% 0.183 290.1);
Tailwind
colors: {
  custom: {
    50: '#9373cd',
    500: '#5d3bb6',
    950: '#000000',
  },
}
SCSS
$custom: #5d3bb6;
$custom-light: #9373cd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3bb6",
  "rgb": {
    "r": 93,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 256.585,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46471,
    "c": 0.18347,
    "h": 290.1
  },
  "luminance": 0.08832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D3BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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