#5D3ECD#5D3ECD

#5D3ECD is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 48.9% C 0.208 H 285.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#5D3ECD
RGBrgb(93, 62, 205)
HSLhsl(253, 59%, 52%)
HSVhsv(253, 70%, 80%)
CMYKcmyk(54.6%, 69.8%, 0%, 19.6%)
CIE-LABlab(38.16, 49.65, -69.49)
CIE-LCHlch(38.16, 85.40, 305.54°)
OKLaboklab(48.86% 0.0564 -0.1998)
OKLCHoklch(48.86% 0.208 285.8)
XYZxyz(17.2530, 10.1792, 58.8014)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3ECD #AECD3E
analogous
#3E67CD #5D3ECD #A53ECD
triadic
#5D3ECD #CD5D3E #3ECD5D
tetradic
#5D3ECD #CD3E67 #AECD3E #3ECDA5
square
#5D3ECD #CD3E67 #AECD3E #3ECDA5
split-complementary
#5D3ECD #CDA53E #67CD3E
monochromatic
#301E73 #452AA3 #5D3ECD #866FDA #AF9FE6

Accessibility & contrast

On white

6.92
#5D3ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5D3ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3ECD
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3ECD#FFFFFF#000000##FFFFFF
##5D3ECD1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#0056CA
Tritanopia (blue-blind)
#2B6481
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5d3ecd;
/* rgb */ color: rgb(93, 62, 205);
/* oklch */ color: oklch(48.9% 0.208 285.8);
Tailwind
colors: {
  custom: {
    50: '#9676dd',
    500: '#5d3ecd',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ecd;
$custom-light: #9676dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ecd",
  "rgb": {
    "r": 93,
    "g": 62,
    "b": 205
  },
  "hsl": {
    "h": 253.007,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48855,
    "c": 0.20764,
    "h": 285.8
  },
  "luminance": 0.1018
}

Semantic roles & 50–950 ramp

primary
#5D3ECD
secondary
#C5D394
accent
#E246C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5D3ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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