#5D3BA3#5D3BA3

#5D3BA3 is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.9% C 0.160 H 294.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#5D3BA3
RGBrgb(93, 59, 163)
HSLhsl(260, 47%, 44%)
HSVhsv(260, 64%, 64%)
CMYKcmyk(42.9%, 63.8%, 0%, 36.1%)
CIE-LABlab(34.19, 39.20, -51.17)
CIE-LCHlch(34.19, 64.46, 307.46°)
OKLaboklab(44.95% 0.0652 -0.146)
OKLCHoklch(44.95% 0.16 294.1)
XYZxyz(12.6872, 8.0991, 35.5381)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3BA3 #81A33B
analogous
#3B4DA3 #5D3BA3 #913BA3
triadic
#5D3BA3 #A35D3B #3BA35D
tetradic
#5D3BA3 #A33B4D #81A33B #3BA391
square
#5D3BA3 #A33B4D #81A33B #3BA391
split-complementary
#5D3BA3 #A3913B #4DA33B
monochromatic
#2A1A49 #432B76 #5D3BA3 #7B58C3 #9F85D3

Accessibility & contrast

On white

8.02
#5D3BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5D3BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3BA3
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3BA3#FFFFFF#000000##FFFFFF
##5D3BA31.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d3ba3;
/* rgb */ color: rgb(93, 59, 163);
/* oklch */ color: oklch(44.9% 0.160 294.1);
Tailwind
colors: {
  custom: {
    50: '#9073bf',
    500: '#5d3ba3',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ba3;
$custom-light: #9073bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ba3",
  "rgb": {
    "r": 93,
    "g": 59,
    "b": 163
  },
  "hsl": {
    "h": 259.615,
    "s": 46.847,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44949,
    "c": 0.15992,
    "h": 294.1
  },
  "luminance": 0.08099
}

Semantic roles & 50–950 ramp

primary
#5D3BA3
secondary
#A8BD7D
accent
#D651AB
background
#F9F7FB
surface
#F1EDF7
border
#CBC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #5D3BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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