#5D3ABC#5D3ABC

#5D3ABC is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.8% C 0.192 H 289.2°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#5D3ABC
RGBrgb(93, 58, 188)
HSLhsl(256, 53%, 48%)
HSVhsv(256, 69%, 74%)
CMYKcmyk(50.5%, 69.1%, 0%, 26.3%)
CIE-LABlab(35.95, 46.88, -63.17)
CIE-LCHlch(35.95, 78.67, 306.58°)
OKLaboklab(46.83% 0.063 -0.1813)
OKLCHoklch(46.83% 0.192 289.2)
XYZxyz(15.1017, 8.9834, 48.5055)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3ABC #99BC3A
analogous
#3A58BC #5D3ABC #9E3ABC
triadic
#5D3ABC #BC5D3A #3ABC5D
tetradic
#5D3ABC #BC3A58 #99BC3A #3ABC9E
square
#5D3ABC #BC3A58 #99BC3A #3ABC9E
split-complementary
#5D3ABC #BC9E3A #58BC3A
monochromatic
#2F1D5E #462C8D #5D3ABC #8164CF #A793DE

Accessibility & contrast

On white

7.51
#5D3ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5D3ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3ABC
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3ABC#FFFFFF#000000##FFFFFF
##5D3ABC1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#3B5B76
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d3abc;
/* rgb */ color: rgb(93, 58, 188);
/* oklch */ color: oklch(46.8% 0.192 289.2);
Tailwind
colors: {
  custom: {
    50: '#9473d1',
    500: '#5d3abc',
    950: '#000000',
  },
}
SCSS
$custom: #5d3abc;
$custom-light: #9473d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3abc",
  "rgb": {
    "r": 93,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 256.154,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46834,
    "c": 0.19193,
    "h": 289.2
  },
  "luminance": 0.08984
}

Semantic roles & 50–950 ramp

primary
#5D3ABC
secondary
#B8C989
accent
#DC4CB5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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