#5D3ABB#5D3ABB

#5D3ABB is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.7% C 0.191 H 289.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#5D3ABB
RGBrgb(93, 58, 187)
HSLhsl(256, 53%, 48%)
HSVhsv(256, 69%, 73%)
CMYKcmyk(50.3%, 69%, 0%, 26.7%)
CIE-LABlab(35.87, 46.59, -62.72)
CIE-LCHlch(35.87, 78.13, 306.61°)
OKLaboklab(46.75% 0.0632 -0.18)
OKLCHoklch(46.75% 0.191 289.3)
XYZxyz(14.9943, 8.9405, 47.9397)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3ABB #98BB3A
analogous
#3A57BB #5D3ABB #9D3ABB
triadic
#5D3ABB #BB5D3A #3ABB5D
tetradic
#5D3ABB #BB3A57 #98BB3A #3ABB9D
square
#5D3ABB #BB3A57 #98BB3A #3ABB9D
split-complementary
#5D3ABB #BB9D3A #57BB3A
monochromatic
#2F1D5E #462C8C #5D3ABB #8163CF #A792DD

Accessibility & contrast

On white

7.53
#5D3ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5D3ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3ABB
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3ABB#FFFFFF#000000##FFFFFF
##5D3ABB1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#3C5B76
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d3abb;
/* rgb */ color: rgb(93, 58, 187);
/* oklch */ color: oklch(46.7% 0.191 289.3);
Tailwind
colors: {
  custom: {
    50: '#9373d0',
    500: '#5d3abb',
    950: '#000000',
  },
}
SCSS
$custom: #5d3abb;
$custom-light: #9373d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3abb",
  "rgb": {
    "r": 93,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 256.279,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46749,
    "c": 0.19073,
    "h": 289.3
  },
  "luminance": 0.08941
}

Semantic roles & 50–950 ramp

primary
#5D3ABB
secondary
#B7C888
accent
#DC4CB5
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5D3ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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