#5D3CA5#5D3CA5

#5D3CA5 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.3% C 0.161 H 293.4°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#5D3CA5
RGBrgb(93, 60, 165)
HSLhsl(259, 47%, 44%)
HSVhsv(259, 64%, 65%)
CMYKcmyk(43.6%, 63.6%, 0%, 35.3%)
CIE-LABlab(34.55, 39.20, -51.79)
CIE-LCHlch(34.55, 64.95, 307.12°)
OKLaboklab(45.26% 0.0639 -0.1478)
OKLCHoklch(45.26% 0.161 293.4)
XYZxyz(12.9197, 8.2751, 36.5066)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3CA5 #84A53C
analogous
#3C50A5 #5D3CA5 #923CA5
triadic
#5D3CA5 #A55D3C #3CA55D
tetradic
#5D3CA5 #A53C50 #84A53C #3CA592
square
#5D3CA5 #A53C50 #84A53C #3CA592
split-complementary
#5D3CA5 #A5923C #50A53C
monochromatic
#2A1B4B #442C78 #5D3CA5 #7C5BC3 #A088D4

Accessibility & contrast

On white

7.91
#5D3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5D3CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3CA5
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3CA5#FFFFFF#000000##FFFFFF
##5D3CA51.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#49546B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d3ca5;
/* rgb */ color: rgb(93, 60, 165);
/* oklch */ color: oklch(45.3% 0.161 293.4);
Tailwind
colors: {
  custom: {
    50: '#9073c0',
    500: '#5d3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ca5;
$custom-light: #9073c0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ca5",
  "rgb": {
    "r": 93,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 258.857,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45257,
    "c": 0.16106,
    "h": 293.4
  },
  "luminance": 0.08275
}

Semantic roles & 50–950 ramp

primary
#5D3CA5
secondary
#AABE7F
accent
#D651AD
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #5D3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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