#5D3ED0#5D3ED0

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

Color values

HEX#5D3ED0
RGBrgb(93, 62, 208)
HSLhsl(253, 61%, 53%)
HSVhsv(253, 70%, 82%)
CMYKcmyk(55.3%, 70.2%, 0%, 18.4%)
CIE-LABlab(38.42, 50.52, -70.80)
CIE-LCHlch(38.42, 86.98, 305.51°)
OKLaboklab(49.12% 0.0559 -0.2037)
OKLCHoklch(49.12% 0.211 285.3)
XYZxyz(17.6186, 10.3255, 60.7269)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3ED0 #B1D03E
analogous
#3E68D0 #5D3ED0 #A63ED0
triadic
#5D3ED0 #D05D3E #3ED05D
tetradic
#5D3ED0 #D03E68 #B1D03E #3ED0A6
square
#5D3ED0 #D03E68 #B1D03E #3ED0A6
split-complementary
#5D3ED0 #D0A63E #68D03E
monochromatic
#301D77 #4429A8 #5D3ED0 #866FDC #B0A0E8

Accessibility & contrast

On white

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

On black

3.07
#5D3ED0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5D3ED0#FFFFFF#000000##FFFFFF
##5D3ED01.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d3ed0;
/* rgb */ color: rgb(93, 62, 208);
/* oklch */ color: oklch(49.1% 0.211 285.3);
Tailwind
colors: {
  custom: {
    50: '#9676e0',
    500: '#5d3ed0',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ed0;
$custom-light: #9676e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ed0",
  "rgb": {
    "r": 93,
    "g": 62,
    "b": 208
  },
  "hsl": {
    "h": 252.74,
    "s": 60.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49119,
    "c": 0.2112,
    "h": 285.3
  },
  "luminance": 0.10326
}

Semantic roles & 50–950 ramp

primary
#5D3ED0
secondary
#C7D495
accent
#E444C2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5D3ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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