#5D3DCE#5D3DCE

#5D3DCE is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.8% C 0.210 H 285.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5D3DCE
RGBrgb(93, 61, 206)
HSLhsl(253, 60%, 52%)
HSVhsv(253, 70%, 81%)
CMYKcmyk(54.9%, 70.4%, 0%, 19.2%)
CIE-LABlab(38.06, 50.47, -70.24)
CIE-LCHlch(38.06, 86.49, 305.70°)
OKLaboklab(48.81% 0.0571 -0.202)
OKLCHoklch(48.81% 0.21 285.8)
XYZxyz(17.3202, 10.1199, 59.4212)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3DCE #AECE3D
analogous
#3D66CE #5D3DCE #A53DCE
triadic
#5D3DCE #CE5D3D #3DCE5D
tetradic
#5D3DCE #CE3D66 #AECE3D #3DCEA5
square
#5D3DCE #CE3D66 #AECE3D #3DCEA5
split-complementary
#5D3DCE #CEA53D #66CE3D
monochromatic
#301D73 #4529A4 #5D3DCE #866EDA #AF9FE7

Accessibility & contrast

On white

6.94
#5D3DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5D3DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3DCE
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3DCE#FFFFFF#000000##FFFFFF
##5D3DCE1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD2
Deuteranopia (green-blind)
#0055CB
Tritanopia (blue-blind)
#2A6381
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5d3dce;
/* rgb */ color: rgb(93, 61, 206);
/* oklch */ color: oklch(48.8% 0.210 285.8);
Tailwind
colors: {
  custom: {
    50: '#9675de',
    500: '#5d3dce',
    950: '#000000',
  },
}
SCSS
$custom: #5d3dce;
$custom-light: #9675de;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3dce",
  "rgb": {
    "r": 93,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 253.241,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48807,
    "c": 0.20994,
    "h": 285.8
  },
  "luminance": 0.10121
}

Semantic roles & 50–950 ramp

primary
#5D3DCE
secondary
#C5D394
accent
#E345C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D3DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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