#5D3DD5#5D3DD5

#5D3DD5 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.4% C 0.218 H 284.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5D3DD5
RGBrgb(93, 61, 213)
HSLhsl(253, 64%, 54%)
HSVhsv(253, 71%, 84%)
CMYKcmyk(56.3%, 71.4%, 0%, 16.5%)
CIE-LABlab(38.67, 52.49, -73.28)
CIE-LCHlch(38.67, 90.14, 305.62°)
OKLaboklab(49.43% 0.0557 -0.2109)
OKLCHoklch(49.43% 0.218 284.8)
XYZxyz(18.1895, 10.4677, 63.9999)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3DD5 #B5D53D
analogous
#3D69D5 #5D3DD5 #A93DD5
triadic
#5D3DD5 #D55D3D #3DD55D
tetradic
#5D3DD5 #D53D69 #B5D53D #3DD5A9
square
#5D3DD5 #D53D69 #B5D53D #3DD5A9
split-complementary
#5D3DD5 #D5A93D #69D53D
monochromatic
#301B7D #4326AF #5D3DD5 #876FE0 #B1A2EB

Accessibility & contrast

On white

6.79
#5D3DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D3DD5
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3DD5#FFFFFF#000000##FFFFFF
##5D3DD51.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD9
Deuteranopia (green-blind)
#0056D2
Tritanopia (blue-blind)
#216685
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d3dd5;
/* rgb */ color: rgb(93, 61, 213);
/* oklch */ color: oklch(49.4% 0.218 284.8);
Tailwind
colors: {
  custom: {
    50: '#9776e3',
    500: '#5d3dd5',
    950: '#000000',
  },
}
SCSS
$custom: #5d3dd5;
$custom-light: #9776e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3dd5",
  "rgb": {
    "r": 93,
    "g": 61,
    "b": 213
  },
  "hsl": {
    "h": 252.632,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.4943,
    "c": 0.21816,
    "h": 284.8
  },
  "luminance": 0.10469
}

Semantic roles & 50–950 ramp

primary
#5D3DD5
secondary
#CAD796
accent
#E740C4
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D3DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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