#5D3AA3#5D3AA3

#5D3AA3 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.8% C 0.161 H 294.3°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#5D3AA3
RGBrgb(93, 58, 163)
HSLhsl(260, 48%, 43%)
HSVhsv(260, 64%, 64%)
CMYKcmyk(42.9%, 64.4%, 0%, 36.1%)
CIE-LABlab(33.98, 39.77, -51.51)
CIE-LCHlch(33.98, 65.08, 307.67°)
OKLaboklab(44.8% 0.0664 -0.147)
OKLCHoklch(44.8% 0.161 294.3)
XYZxyz(12.6363, 7.9973, 35.5211)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3AA3 #80A33A
analogous
#3A4BA3 #5D3AA3 #913AA3
triadic
#5D3AA3 #A35D3A #3AA35D
tetradic
#5D3AA3 #A33A4B #80A33A #3AA391
square
#5D3AA3 #A33A4B #80A33A #3AA391
split-complementary
#5D3AA3 #A3913A #4BA33A
monochromatic
#291A49 #432A76 #5D3AA3 #7B57C3 #9F84D3

Accessibility & contrast

On white

8.08
#5D3AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5D3AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3AA3
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3AA3#FFFFFF#000000##FFFFFF
##5D3AA31.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#4A5269
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5d3aa3;
/* rgb */ color: rgb(93, 58, 163);
/* oklch */ color: oklch(44.8% 0.161 294.3);
Tailwind
colors: {
  custom: {
    50: '#9072bf',
    500: '#5d3aa3',
    950: '#000000',
  },
}
SCSS
$custom: #5d3aa3;
$custom-light: #9072bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3aa3",
  "rgb": {
    "r": 93,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 260,
    "s": 47.511,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44795,
    "c": 0.16131,
    "h": 294.3
  },
  "luminance": 0.07998
}

Semantic roles & 50–950 ramp

primary
#5D3AA3
secondary
#A7BD7C
accent
#D751AA
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #5D3AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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