#5D3CA3#5D3CA3

#5D3CA3 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.1% C 0.159 H 293.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5D3CA3
RGBrgb(93, 60, 163)
HSLhsl(259, 46%, 44%)
HSVhsv(259, 63%, 64%)
CMYKcmyk(42.9%, 63.2%, 0%, 36.1%)
CIE-LABlab(34.40, 38.63, -50.82)
CIE-LCHlch(34.40, 63.84, 307.24°)
OKLaboklab(45.1% 0.0641 -0.145)
OKLCHoklch(45.1% 0.159 293.8)
XYZxyz(12.7391, 8.2029, 35.5553)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3CA3 #82A33C
analogous
#3C4EA3 #5D3CA3 #903CA3
triadic
#5D3CA3 #A35D3C #3CA35D
tetradic
#5D3CA3 #A33C4E #82A33C #3CA390
square
#5D3CA3 #A33C4E #82A33C #3CA390
split-complementary
#5D3CA3 #A3903C #4EA33C
monochromatic
#2A1B4A #432C76 #5D3CA3 #7B5AC2 #9F87D3

Accessibility & contrast

On white

7.95
#5D3CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5D3CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3CA3
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3CA3#FFFFFF#000000##FFFFFF
##5D3CA31.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#4A536A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d3ca3;
/* rgb */ color: rgb(93, 60, 163);
/* oklch */ color: oklch(45.1% 0.159 293.8);
Tailwind
colors: {
  custom: {
    50: '#9073bf',
    500: '#5d3ca3',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ca3;
$custom-light: #9073bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ca3",
  "rgb": {
    "r": 93,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 259.223,
    "s": 46.188,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45104,
    "c": 0.15853,
    "h": 293.8
  },
  "luminance": 0.08203
}

Semantic roles & 50–950 ramp

primary
#5D3CA3
secondary
#A9BD7E
accent
#D652AC
background
#F9F7FB
surface
#F1EDF7
border
#CBC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #5D3CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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