#5D3FD5#5D3FD5

#5D3FD5 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.7% C 0.216 H 284.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5D3FD5
RGBrgb(93, 63, 213)
HSLhsl(252, 64%, 54%)
HSVhsv(252, 70%, 84%)
CMYKcmyk(56.3%, 70.4%, 0%, 16.5%)
CIE-LABlab(39.05, 51.45, -72.66)
CIE-LCHlch(39.05, 89.03, 305.30°)
OKLaboklab(49.7% 0.0541 -0.2091)
OKLCHoklch(49.7% 0.216 284.5)
XYZxyz(18.2983, 10.6852, 64.0361)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3FD5 #B7D53F
analogous
#3F6CD5 #5D3FD5 #A83FD5
triadic
#5D3FD5 #D55D3F #3FD55D
tetradic
#5D3FD5 #D53F6C #B7D53F #3FD5A8
square
#5D3FD5 #D53F6C #B7D53F #3FD5A8
split-complementary
#5D3FD5 #D5A83F #6CD53F
monochromatic
#2F1C7E #4227B0 #5D3FD5 #8771E0 #B2A3EB

Accessibility & contrast

On white

6.69
#5D3FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5D3FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3FD5
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3FD5#FFFFFF#000000##FFFFFF
##5D3FD51.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D9
Deuteranopia (green-blind)
#0057D2
Tritanopia (blue-blind)
#206786
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d3fd5;
/* rgb */ color: rgb(93, 63, 213);
/* oklch */ color: oklch(49.7% 0.216 284.5);
Tailwind
colors: {
  custom: {
    50: '#9777e3',
    500: '#5d3fd5',
    950: '#000000',
  },
}
SCSS
$custom: #5d3fd5;
$custom-light: #9777e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3fd5",
  "rgb": {
    "r": 93,
    "g": 63,
    "b": 213
  },
  "hsl": {
    "h": 252,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49697,
    "c": 0.21603,
    "h": 284.5
  },
  "luminance": 0.10686
}

Semantic roles & 50–950 ramp

primary
#5D3FD5
secondary
#CBD898
accent
#E741C6
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D3FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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