#5D3DD2#5D3DD2

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

Color values

HEX#5D3DD2
RGBrgb(93, 61, 210)
HSLhsl(253, 62%, 53%)
HSVhsv(253, 71%, 82%)
CMYKcmyk(55.7%, 71%, 0%, 17.6%)
CIE-LABlab(38.40, 51.63, -71.98)
CIE-LCHlch(38.40, 88.58, 305.65°)
OKLaboklab(49.16% 0.0563 -0.2071)
OKLCHoklch(49.16% 0.215 285.2)
XYZxyz(17.8123, 10.3167, 62.0130)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3DD2 #B2D23D
analogous
#3D67D2 #5D3DD2 #A73DD2
triadic
#5D3DD2 #D25D3D #3DD25D
tetradic
#5D3DD2 #D23D67 #B2D23D #3DD2A7
square
#5D3DD2 #D23D67 #B2D23D #3DD2A7
split-complementary
#5D3DD2 #D2A73D #67D23D
monochromatic
#301C79 #4428AA #5D3DD2 #866FDE #B0A0E9

Accessibility & contrast

On white

6.85
#5D3DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D3DD2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3DD2#FFFFFF#000000##FFFFFF
##5D3DD21.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d3dd2;
/* rgb */ color: rgb(93, 61, 210);
/* oklch */ color: oklch(49.2% 0.215 285.2);
Tailwind
colors: {
  custom: {
    50: '#9775e1',
    500: '#5d3dd2',
    950: '#000000',
  },
}
SCSS
$custom: #5d3dd2;
$custom-light: #9775e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3dd2",
  "rgb": {
    "r": 93,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 252.886,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49161,
    "c": 0.21465,
    "h": 285.2
  },
  "luminance": 0.10318
}

Semantic roles & 50–950 ramp

primary
#5D3DD2
secondary
#C8D695
accent
#E542C2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5D3DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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