#5D3ABE#5D3ABE

#5D3ABE is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.0% C 0.194 H 288.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#5D3ABE
RGBrgb(93, 58, 190)
HSLhsl(256, 53%, 49%)
HSVhsv(256, 69%, 75%)
CMYKcmyk(51.1%, 69.5%, 0%, 25.5%)
CIE-LABlab(36.12, 47.45, -64.08)
CIE-LCHlch(36.12, 79.73, 306.52°)
OKLaboklab(47.01% 0.0626 -0.1839)
OKLCHoklch(47.01% 0.194 288.8)
XYZxyz(15.3188, 9.0703, 49.6488)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3ABE #9BBE3A
analogous
#3A59BE #5D3ABE #9F3ABE
triadic
#5D3ABE #BE5D3A #3ABE5D
tetradic
#5D3ABE #BE3A59 #9BBE3A #3ABE9F
square
#5D3ABE #BE3A59 #9BBE3A #3ABE9F
split-complementary
#5D3ABE #BE9F3A #59BE3A
monochromatic
#2F1D60 #462C8F #5D3ABE #8165D0 #A894DE

Accessibility & contrast

On white

7.46
#5D3ABE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5D3ABE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3ABE
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3ABE#FFFFFF#000000##FFFFFF
##5D3ABE1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#3A5C78
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d3abe;
/* rgb */ color: rgb(93, 58, 190);
/* oklch */ color: oklch(47.0% 0.194 288.8);
Tailwind
colors: {
  custom: {
    50: '#9473d3',
    500: '#5d3abe',
    950: '#000000',
  },
}
SCSS
$custom: #5d3abe;
$custom-light: #9473d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3abe",
  "rgb": {
    "r": 93,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 255.909,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47005,
    "c": 0.19432,
    "h": 288.8
  },
  "luminance": 0.09071
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D3ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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