#5D3ED2#5D3ED2

#5D3ED2 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.3% C 0.214 H 285.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5D3ED2
RGBrgb(93, 62, 210)
HSLhsl(253, 62%, 53%)
HSVhsv(253, 70%, 82%)
CMYKcmyk(55.7%, 70.5%, 0%, 17.6%)
CIE-LABlab(38.59, 51.10, -71.67)
CIE-LCHlch(38.59, 88.02, 305.49°)
OKLaboklab(49.3% 0.0555 -0.2062)
OKLCHoklch(49.3% 0.214 285.1)
XYZxyz(17.8662, 10.4245, 62.0310)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3ED2 #B3D23E
analogous
#3E69D2 #5D3ED2 #A73ED2
triadic
#5D3ED2 #D25D3E #3ED25D
tetradic
#5D3ED2 #D23E69 #B3D23E #3ED2A7
square
#5D3ED2 #D23E69 #B3D23E #3ED2A7
split-complementary
#5D3ED2 #D2A73E #69D23E
monochromatic
#301C79 #4328AB #5D3ED2 #8770DE #B0A1E9

Accessibility & contrast

On white

6.81
#5D3ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5D3ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3ED2
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3ED2#FFFFFF#000000##FFFFFF
##5D3ED21.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD6
Deuteranopia (green-blind)
#0056CF
Tritanopia (blue-blind)
#256584
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d3ed2;
/* rgb */ color: rgb(93, 62, 210);
/* oklch */ color: oklch(49.3% 0.214 285.1);
Tailwind
colors: {
  custom: {
    50: '#9776e1',
    500: '#5d3ed2',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ed2;
$custom-light: #9776e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ed2",
  "rgb": {
    "r": 93,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 252.568,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49296,
    "c": 0.21357,
    "h": 285.1
  },
  "luminance": 0.10426
}

Semantic roles & 50–950 ramp

primary
#5D3ED2
secondary
#C8D696
accent
#E543C3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5D3ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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