#5D3EAD#5D3EAD

#5D3EAD is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.2% C 0.168 H 291.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#5D3EAD
RGBrgb(93, 62, 173)
HSLhsl(257, 47%, 46%)
HSVhsv(257, 64%, 68%)
CMYKcmyk(46.2%, 64.2%, 0%, 32.2%)
CIE-LABlab(35.58, 40.35, -54.91)
CIE-LCHlch(35.58, 68.14, 306.31°)
OKLaboklab(46.19% 0.061 -0.157)
OKLCHoklch(46.19% 0.168 291.2)
XYZxyz(13.7775, 8.7891, 40.4976)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3EAD #8EAD3E
analogous
#3E56AD #5D3EAD #943EAD
triadic
#5D3EAD #AD5D3E #3EAD5D
tetradic
#5D3EAD #AD3E56 #8EAD3E #3EAD94
square
#5D3EAD #AD3E56 #8EAD3E #3EAD94
split-complementary
#5D3EAD #AD943E #56AD3E
monochromatic
#2D1E53 #452E80 #5D3EAD #7E62C7 #A38FD7

Accessibility & contrast

On white

7.61
#5D3EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5D3EAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3EAD
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3EAD#FFFFFF#000000##FFFFFF
##5D3EAD1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#455870
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d3ead;
/* rgb */ color: rgb(93, 62, 173);
/* oklch */ color: oklch(46.2% 0.168 291.2);
Tailwind
colors: {
  custom: {
    50: '#9175c6',
    500: '#5d3ead',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ead;
$custom-light: #9175c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ead",
  "rgb": {
    "r": 93,
    "g": 62,
    "b": 173
  },
  "hsl": {
    "h": 256.757,
    "s": 47.234,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4619,
    "c": 0.16844,
    "h": 291.2
  },
  "luminance": 0.0879
}

Semantic roles & 50–950 ramp

primary
#5D3EAD
secondary
#B1C285
accent
#D751B1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5D3EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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