#5D3ABF#5D3ABF

#5D3ABF is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.196 H 288.6°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#5D3ABF
RGBrgb(93, 58, 191)
HSLhsl(256, 53%, 49%)
HSVhsv(256, 70%, 75%)
CMYKcmyk(51.3%, 69.6%, 0%, 25.1%)
CIE-LABlab(36.20, 47.74, -64.53)
CIE-LCHlch(36.20, 80.27, 306.49°)
OKLaboklab(47.09% 0.0625 -0.1853)
OKLCHoklch(47.09% 0.196 288.6)
XYZxyz(15.4285, 9.1141, 50.2264)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3ABF #9CBF3A
analogous
#3A5ABF #5D3ABF #A03ABF
triadic
#5D3ABF #BF5D3A #3ABF5D
tetradic
#5D3ABF #BF3A5A #9CBF3A #3ABFA0
square
#5D3ABF #BF3A5A #9CBF3A #3ABFA0
split-complementary
#5D3ABF #BFA03A #5ABF3A
monochromatic
#2F1D61 #462C90 #5D3ABF #8266D0 #A895DF

Accessibility & contrast

On white

7.44
#5D3ABF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5D3ABF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3ABF
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3ABF#FFFFFF#000000##FFFFFF
##5D3ABF1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#0052BC
Tritanopia (blue-blind)
#395C78
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d3abf;
/* rgb */ color: rgb(93, 58, 191);
/* oklch */ color: oklch(47.1% 0.196 288.6);
Tailwind
colors: {
  custom: {
    50: '#9473d3',
    500: '#5d3abf',
    950: '#000000',
  },
}
SCSS
$custom: #5d3abf;
$custom-light: #9473d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3abf",
  "rgb": {
    "r": 93,
    "g": 58,
    "b": 191
  },
  "hsl": {
    "h": 255.789,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47091,
    "c": 0.19551,
    "h": 288.6
  },
  "luminance": 0.09115
}

Semantic roles & 50–950 ramp

primary
#5D3ABF
secondary
#B9CA8B
accent
#DD4BB6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D3ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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