#5D3CD4#5D3CD4

#5D3CD4 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.2% C 0.218 H 285.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#5D3CD4
RGBrgb(93, 60, 212)
HSLhsl(253, 64%, 53%)
HSVhsv(253, 72%, 83%)
CMYKcmyk(56.1%, 71.7%, 0%, 16.9%)
CIE-LABlab(38.40, 52.72, -73.15)
CIE-LCHlch(38.40, 90.17, 305.78°)
OKLaboklab(49.21% 0.0567 -0.2106)
OKLCHoklch(49.21% 0.218 285.1)
XYZxyz(18.0101, 10.3113, 63.3158)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3CD4 #B3D43C
analogous
#3C67D4 #5D3CD4 #A93CD4
triadic
#5D3CD4 #D45D3C #3CD45D
tetradic
#5D3CD4 #D43C67 #B3D43C #3CD4A9
square
#5D3CD4 #D43C67 #B3D43C #3CD4A9
split-complementary
#5D3CD4 #D4A93C #67D43C
monochromatic
#301B7B #4326AD #5D3CD4 #876EDF #B0A0EA

Accessibility & contrast

On white

6.86
#5D3CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5D3CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3CD4
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3CD4#FFFFFF#000000##FFFFFF
##5D3CD41.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD8
Deuteranopia (green-blind)
#0056D1
Tritanopia (blue-blind)
#226584
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5d3cd4;
/* rgb */ color: rgb(93, 60, 212);
/* oklch */ color: oklch(49.2% 0.218 285.1);
Tailwind
colors: {
  custom: {
    50: '#9775e2',
    500: '#5d3cd4',
    950: '#000000',
  },
}
SCSS
$custom: #5d3cd4;
$custom-light: #9775e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3cd4",
  "rgb": {
    "r": 93,
    "g": 60,
    "b": 212
  },
  "hsl": {
    "h": 253.026,
    "s": 63.866,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49208,
    "c": 0.21805,
    "h": 285.1
  },
  "luminance": 0.10312
}

Semantic roles & 50–950 ramp

primary
#5D3CD4
secondary
#C8D795
accent
#E741C3
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5D3CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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