#5D3CA0#5D3CA0

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

Color values

HEX#5D3CA0
RGBrgb(93, 60, 160)
HSLhsl(260, 45%, 43%)
HSVhsv(260, 63%, 63%)
CMYKcmyk(41.9%, 62.5%, 0%, 37.3%)
CIE-LABlab(34.18, 37.78, -49.37)
CIE-LCHlch(34.18, 62.17, 307.43°)
OKLaboklab(44.88% 0.0643 -0.1407)
OKLCHoklch(44.88% 0.155 294.5)
XYZxyz(12.4735, 8.0966, 34.1565)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3CA0 #7FA03C
analogous
#3C4DA0 #5D3CA0 #8F3CA0
triadic
#5D3CA0 #A05D3C #3CA05D
tetradic
#5D3CA0 #A03C4D #7FA03C #3CA08F
square
#5D3CA0 #A03C4D #7FA03C #3CA08F
split-complementary
#5D3CA0 #A08F3C #4DA03C
monochromatic
#291B47 #432B73 #5D3CA0 #7B59C1 #9E85D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D3CA0#FFFFFF#000000##FFFFFF
##5D3CA01.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)
#0051A3
Deuteranopia (green-blind)
#004F9E
Tritanopia (blue-blind)
#4B5268
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5d3ca0;
/* rgb */ color: rgb(93, 60, 160);
/* oklch */ color: oklch(44.9% 0.155 294.5);
Tailwind
colors: {
  custom: {
    50: '#9073bd',
    500: '#5d3ca0',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ca0;
$custom-light: #9073bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ca0",
  "rgb": {
    "r": 93,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 259.8,
    "s": 45.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44875,
    "c": 0.15471,
    "h": 294.5
  },
  "luminance": 0.08097
}

Semantic roles & 50–950 ramp

primary
#5D3CA0
secondary
#A7BB7C
accent
#D553AA
background
#F9F7FB
surface
#F1EDF7
border
#CBC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #5D3CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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