#5D3CD3#5D3CD3

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

Color values

HEX#5D3CD3
RGBrgb(93, 60, 211)
HSLhsl(253, 63%, 53%)
HSVhsv(253, 72%, 83%)
CMYKcmyk(55.9%, 71.6%, 0%, 17.3%)
CIE-LABlab(38.31, 52.43, -72.72)
CIE-LCHlch(38.31, 89.65, 305.79°)
OKLaboklab(49.12% 0.0569 -0.2093)
OKLCHoklch(49.12% 0.217 285.2)
XYZxyz(17.8844, 10.2610, 62.6536)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3CD3 #B2D33C
analogous
#3C66D3 #5D3CD3 #A93CD3
triadic
#5D3CD3 #D35D3C #3CD35D
tetradic
#5D3CD3 #D33C66 #B2D33C #3CD3A9
square
#5D3CD3 #D33C66 #B2D33C #3CD3A9
split-complementary
#5D3CD3 #D3A93C #66D33C
monochromatic
#301B79 #4427AB #5D3CD3 #866EDE #B0A0EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D3CD3#FFFFFF#000000##FFFFFF
##5D3CD31.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)
#005ED7
Deuteranopia (green-blind)
#0055D0
Tritanopia (blue-blind)
#246584
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5d3cd3;
/* rgb */ color: rgb(93, 60, 211);
/* oklch */ color: oklch(49.1% 0.217 285.2);
Tailwind
colors: {
  custom: {
    50: '#9775e2',
    500: '#5d3cd3',
    950: '#000000',
  },
}
SCSS
$custom: #5d3cd3;
$custom-light: #9775e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3cd3",
  "rgb": {
    "r": 93,
    "g": 60,
    "b": 211
  },
  "hsl": {
    "h": 253.113,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49118,
    "c": 0.21689,
    "h": 285.2
  },
  "luminance": 0.10262
}

Semantic roles & 50–950 ramp

primary
#5D3CD3
secondary
#C8D695
accent
#E642C2
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0815
muted
#7F7B84

Preview Lab

Preview with #5D3CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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