#5D3DCD#5D3DCD

#5D3DCD is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.7% C 0.209 H 285.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5D3DCD
RGBrgb(93, 61, 205)
HSLhsl(253, 59%, 52%)
HSVhsv(253, 70%, 80%)
CMYKcmyk(54.6%, 70.2%, 0%, 19.6%)
CIE-LABlab(37.97, 50.18, -69.80)
CIE-LCHlch(37.97, 85.96, 305.71°)
OKLaboklab(48.72% 0.0573 -0.2008)
OKLCHoklch(48.72% 0.209 285.9)
XYZxyz(17.1991, 10.0715, 58.7835)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3DCD #ADCD3D
analogous
#3D65CD #5D3DCD #A53DCD
triadic
#5D3DCD #CD5D3D #3DCD5D
tetradic
#5D3DCD #CD3D65 #ADCD3D #3DCDA5
square
#5D3DCD #CD3D65 #ADCD3D #3DCDA5
split-complementary
#5D3DCD #CDA53D #65CD3D
monochromatic
#301D72 #452AA3 #5D3DCD #866EDA #AE9EE6

Accessibility & contrast

On white

6.97
#5D3DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5D3DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3DCD
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3DCD#FFFFFF#000000##FFFFFF
##5D3DCD1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#0055CA
Tritanopia (blue-blind)
#2C6381
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5d3dcd;
/* rgb */ color: rgb(93, 61, 205);
/* oklch */ color: oklch(48.7% 0.209 285.9);
Tailwind
colors: {
  custom: {
    50: '#9675dd',
    500: '#5d3dcd',
    950: '#000000',
  },
}
SCSS
$custom: #5d3dcd;
$custom-light: #9675dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3dcd",
  "rgb": {
    "r": 93,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 253.333,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48719,
    "c": 0.20876,
    "h": 285.9
  },
  "luminance": 0.10072
}

Semantic roles & 50–950 ramp

primary
#5D3DCD
secondary
#C4D293
accent
#E246BF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D3DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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