#5D3BCD#5D3BCD

#5D3BCD is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.5% C 0.211 H 286.2°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5D3BCD
RGBrgb(93, 59, 205)
HSLhsl(254, 59%, 52%)
HSVhsv(254, 71%, 80%)
CMYKcmyk(54.6%, 71.2%, 0%, 19.6%)
CIE-LABlab(37.59, 51.23, -70.42)
CIE-LCHlch(37.59, 87.08, 306.03°)
OKLaboklab(48.45% 0.0589 -0.2025)
OKLCHoklch(48.45% 0.211 286.2)
XYZxyz(17.0943, 9.8619, 58.7486)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3BCD #ABCD3B
analogous
#3B62CD #5D3BCD #A63BCD
triadic
#5D3BCD #CD5D3B #3BCD5D
tetradic
#5D3BCD #CD3B62 #ABCD3B #3BCDA6
square
#5D3BCD #CD3B62 #ABCD3B #3BCDA6
split-complementary
#5D3BCD #CDA63B #62CD3B
monochromatic
#301D71 #4529A2 #5D3BCD #856CD9 #AE9DE6

Accessibility & contrast

On white

7.06
#5D3BCD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5D3BCD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3BCD
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3BCD#FFFFFF#000000##FFFFFF
##5D3BCD1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD1
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#2C6280
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5d3bcd;
/* rgb */ color: rgb(93, 59, 205);
/* oklch */ color: oklch(48.5% 0.211 286.2);
Tailwind
colors: {
  custom: {
    50: '#9674dd',
    500: '#5d3bcd',
    950: '#000000',
  },
}
SCSS
$custom: #5d3bcd;
$custom-light: #9674dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3bcd",
  "rgb": {
    "r": 93,
    "g": 59,
    "b": 205
  },
  "hsl": {
    "h": 253.973,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48451,
    "c": 0.21094,
    "h": 286.2
  },
  "luminance": 0.09863
}

Semantic roles & 50–950 ramp

primary
#5D3BCD
secondary
#C3D292
accent
#E345BE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D3BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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