#5D3FD2#5D3FD2

#5D3FD2 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.4% C 0.212 H 284.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5D3FD2
RGBrgb(93, 63, 210)
HSLhsl(252, 62%, 54%)
HSVhsv(252, 70%, 82%)
CMYKcmyk(55.7%, 70%, 0%, 17.6%)
CIE-LABlab(38.78, 50.57, -71.36)
CIE-LCHlch(38.78, 87.46, 305.32°)
OKLaboklab(49.43% 0.0547 -0.2053)
OKLCHoklch(49.43% 0.212 284.9)
XYZxyz(17.9210, 10.5343, 62.0493)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3FD2 #B4D23F
analogous
#3F6AD2 #5D3FD2 #A63FD2
triadic
#5D3FD2 #D25D3F #3FD25D
tetradic
#5D3FD2 #D23F6A #B4D23F #3FD2A6
square
#5D3FD2 #D23F6A #B4D23F #3FD2A6
split-complementary
#5D3FD2 #D2A63F #6AD23F
monochromatic
#301D7A #4328AC #5D3FD2 #8771DE #B1A2E9

Accessibility & contrast

On white

6.76
#5D3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5D3FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3FD2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3FD2#FFFFFF#000000##FFFFFF
##5D3FD21.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD6
Deuteranopia (green-blind)
#0057CF
Tritanopia (blue-blind)
#256684
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d3fd2;
/* rgb */ color: rgb(93, 63, 210);
/* oklch */ color: oklch(49.4% 0.212 284.9);
Tailwind
colors: {
  custom: {
    50: '#9677e1',
    500: '#5d3fd2',
    950: '#000000',
  },
}
SCSS
$custom: #5d3fd2;
$custom-light: #9677e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3fd2",
  "rgb": {
    "r": 93,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 252.245,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49432,
    "c": 0.21247,
    "h": 284.9
  },
  "luminance": 0.10535
}

Semantic roles & 50–950 ramp

primary
#5D3FD2
secondary
#C9D697
accent
#E543C4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5D3FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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