#5D3DD6#5D3DD6

#5D3DD6 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.5% C 0.219 H 284.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5D3DD6
RGBrgb(93, 61, 214)
HSLhsl(253, 65%, 54%)
HSVhsv(253, 71%, 84%)
CMYKcmyk(56.5%, 71.5%, 0%, 16.1%)
CIE-LABlab(38.76, 52.78, -73.71)
CIE-LCHlch(38.76, 90.66, 305.61°)
OKLaboklab(49.52% 0.0555 -0.2122)
OKLCHoklch(49.52% 0.219 284.6)
XYZxyz(18.3168, 10.5186, 64.6704)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3DD6 #B6D63D
analogous
#3D6AD6 #5D3DD6 #AA3DD6
triadic
#5D3DD6 #D65D3D #3DD65D
tetradic
#5D3DD6 #D63D6A #B6D63D #3DD6AA
square
#5D3DD6 #D63D6A #B6D63D #3DD6AA
split-complementary
#5D3DD6 #D6AA3D #6AD63D
monochromatic
#2F1B7E #4225B1 #5D3DD6 #8770E1 #B1A2EB

Accessibility & contrast

On white

6.77
#5D3DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5D3DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3DD6
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3DD6#FFFFFF#000000##FFFFFF
##5D3DD61.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DB
Deuteranopia (green-blind)
#0056D3
Tritanopia (blue-blind)
#1F6686
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d3dd6;
/* rgb */ color: rgb(93, 61, 214);
/* oklch */ color: oklch(49.5% 0.219 284.6);
Tailwind
colors: {
  custom: {
    50: '#9776e4',
    500: '#5d3dd6',
    950: '#000000',
  },
}
SCSS
$custom: #5d3dd6;
$custom-light: #9776e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3dd6",
  "rgb": {
    "r": 93,
    "g": 61,
    "b": 214
  },
  "hsl": {
    "h": 252.549,
    "s": 65.106,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49519,
    "c": 0.21933,
    "h": 284.6
  },
  "luminance": 0.1052
}

Semantic roles & 50–950 ramp

primary
#5D3DD6
secondary
#CAD897
accent
#E840C5
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D3DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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