#5D3CD2#5D3CD2

#5D3CD2 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.0% C 0.216 H 285.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5D3CD2
RGBrgb(93, 60, 210)
HSLhsl(253, 63%, 53%)
HSVhsv(253, 71%, 82%)
CMYKcmyk(55.7%, 71.4%, 0%, 17.6%)
CIE-LABlab(38.22, 52.15, -72.29)
CIE-LCHlch(38.22, 89.13, 305.81°)
OKLaboklab(49.03% 0.0571 -0.208)
OKLCHoklch(49.03% 0.216 285.3)
XYZxyz(17.7594, 10.2110, 61.9954)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3CD2 #B1D23C
analogous
#3C66D2 #5D3CD2 #A83CD2
triadic
#5D3CD2 #D25D3C #3CD25D
tetradic
#5D3CD2 #D23C66 #B1D23C #3CD2A8
square
#5D3CD2 #D23C66 #B1D23C #3CD2A8
split-complementary
#5D3CD2 #D2A83C #66D23C
monochromatic
#301C78 #4427AA #5D3CD2 #866EDD #B09FE9

Accessibility & contrast

On white

6.90
#5D3CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5D3CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3CD2
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3CD2#FFFFFF#000000##FFFFFF
##5D3CD21.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED6
Deuteranopia (green-blind)
#0055CF
Tritanopia (blue-blind)
#256483
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5d3cd2;
/* rgb */ color: rgb(93, 60, 210);
/* oklch */ color: oklch(49.0% 0.216 285.3);
Tailwind
colors: {
  custom: {
    50: '#9775e1',
    500: '#5d3cd2',
    950: '#000000',
  },
}
SCSS
$custom: #5d3cd2;
$custom-light: #9775e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3cd2",
  "rgb": {
    "r": 93,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 253.2,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49029,
    "c": 0.21572,
    "h": 285.3
  },
  "luminance": 0.10212
}

Semantic roles & 50–950 ramp

primary
#5D3CD2
secondary
#C7D594
accent
#E642C2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D3CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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