#5D3FD0#5D3FD0

#5D3FD0 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.3% C 0.210 H 285.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5D3FD0
RGBrgb(93, 63, 208)
HSLhsl(252, 61%, 53%)
HSVhsv(252, 70%, 82%)
CMYKcmyk(55.3%, 69.7%, 0%, 18.4%)
CIE-LABlab(38.61, 49.99, -70.49)
CIE-LCHlch(38.61, 86.41, 305.34°)
OKLaboklab(49.26% 0.055 -0.2028)
OKLCHoklch(49.26% 0.21 285.2)
XYZxyz(17.6734, 10.4352, 60.7452)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3FD0 #B2D03F
analogous
#3F69D0 #5D3FD0 #A53FD0
triadic
#5D3FD0 #D05D3F #3FD05D
tetradic
#5D3FD0 #D03F69 #B2D03F #3FD0A5
square
#5D3FD0 #D03F69 #B2D03F #3FD0A5
split-complementary
#5D3FD0 #D0A53F #69D03F
monochromatic
#301D77 #4429A9 #5D3FD0 #8670DC #B0A1E8

Accessibility & contrast

On white

6.80
#5D3FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5D3FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3FD0
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3FD0#FFFFFF#000000##FFFFFF
##5D3FD01.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD4
Deuteranopia (green-blind)
#0056CD
Tritanopia (blue-blind)
#286583
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d3fd0;
/* rgb */ color: rgb(93, 63, 208);
/* oklch */ color: oklch(49.3% 0.210 285.2);
Tailwind
colors: {
  custom: {
    50: '#9677e0',
    500: '#5d3fd0',
    950: '#000000',
  },
}
SCSS
$custom: #5d3fd0;
$custom-light: #9677e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3fd0",
  "rgb": {
    "r": 93,
    "g": 63,
    "b": 208
  },
  "hsl": {
    "h": 252.414,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49256,
    "c": 0.2101,
    "h": 285.2
  },
  "luminance": 0.10436
}

Semantic roles & 50–950 ramp

primary
#5D3FD0
secondary
#C8D596
accent
#E444C3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5D3FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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