#5D3CB5#5D3CB5

#5D3CB5 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.5% C 0.181 H 290.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5D3CB5
RGBrgb(93, 60, 181)
HSLhsl(256, 50%, 47%)
HSVhsv(256, 67%, 71%)
CMYKcmyk(48.6%, 66.9%, 0%, 29%)
CIE-LABlab(35.78, 43.78, -59.32)
CIE-LCHlch(35.78, 73.73, 306.43°)
OKLaboklab(46.53% 0.0621 -0.17)
OKLCHoklch(46.53% 0.181 290.1)
XYZxyz(14.4682, 8.8945, 44.6616)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3CB5 #94B53C
analogous
#3C57B5 #5D3CB5 #9A3CB5
triadic
#5D3CB5 #B55D3C #3CB55D
tetradic
#5D3CB5 #B53C57 #94B53C #3CB59A
square
#5D3CB5 #B53C57 #94B53C #3CB59A
split-complementary
#5D3CB5 #B59A3C #57B53C
monochromatic
#2E1E59 #452D87 #5D3CB5 #7F63CB #A591DB

Accessibility & contrast

On white

7.56
#5D3CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5D3CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3CB5
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3CB5#FFFFFF#000000##FFFFFF
##5D3CB51.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#405A73
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d3cb5;
/* rgb */ color: rgb(93, 60, 181);
/* oklch */ color: oklch(46.5% 0.181 290.1);
Tailwind
colors: {
  custom: {
    50: '#9274cc',
    500: '#5d3cb5',
    950: '#000000',
  },
}
SCSS
$custom: #5d3cb5;
$custom-light: #9274cc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3cb5",
  "rgb": {
    "r": 93,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 256.364,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46534,
    "c": 0.181,
    "h": 290.1
  },
  "luminance": 0.08895
}

Semantic roles & 50–950 ramp

primary
#5D3CB5
secondary
#B5C687
accent
#DA4EB4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5D3CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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