#5D3DD1#5D3DD1

#5D3DD1 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.1% C 0.213 H 285.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5D3DD1
RGBrgb(93, 61, 209)
HSLhsl(253, 62%, 53%)
HSVhsv(253, 71%, 82%)
CMYKcmyk(55.5%, 70.8%, 0%, 18%)
CIE-LABlab(38.32, 51.34, -71.55)
CIE-LCHlch(38.32, 88.06, 305.66°)
OKLaboklab(49.07% 0.0565 -0.2059)
OKLCHoklch(49.07% 0.213 285.3)
XYZxyz(17.6881, 10.2671, 61.3589)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3DD1 #B1D13D
analogous
#3D67D1 #5D3DD1 #A73DD1
triadic
#5D3DD1 #D15D3D #3DD15D
tetradic
#5D3DD1 #D13D67 #B1D13D #3DD1A7
square
#5D3DD1 #D13D67 #B1D13D #3DD1A7
split-complementary
#5D3DD1 #D1A73D #67D13D
monochromatic
#301C77 #4428A9 #5D3DD1 #866EDD #B0A0E8

Accessibility & contrast

On white

6.88
#5D3DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5D3DD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3DD1
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3DD1#FFFFFF#000000##FFFFFF
##5D3DD11.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED5
Deuteranopia (green-blind)
#0056CE
Tritanopia (blue-blind)
#276583
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5d3dd1;
/* rgb */ color: rgb(93, 61, 209);
/* oklch */ color: oklch(49.1% 0.213 285.3);
Tailwind
colors: {
  custom: {
    50: '#9675e0',
    500: '#5d3dd1',
    950: '#000000',
  },
}
SCSS
$custom: #5d3dd1;
$custom-light: #9675e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3dd1",
  "rgb": {
    "r": 93,
    "g": 61,
    "b": 209
  },
  "hsl": {
    "h": 252.973,
    "s": 61.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.21348,
    "h": 285.3
  },
  "luminance": 0.10268
}

Semantic roles & 50–950 ramp

primary
#5D3DD1
secondary
#C7D595
accent
#E543C2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5D3DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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