#5D3DB5#5D3DB5

#5D3DB5 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.7% C 0.180 H 289.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#5D3DB5
RGBrgb(93, 61, 181)
HSLhsl(256, 50%, 47%)
HSVhsv(256, 66%, 71%)
CMYKcmyk(48.6%, 66.3%, 0%, 29%)
CIE-LABlab(35.98, 43.22, -58.99)
CIE-LCHlch(35.98, 73.13, 306.23°)
OKLaboklab(46.68% 0.0611 -0.169)
OKLCHoklch(46.68% 0.18 289.9)
XYZxyz(14.5211, 9.0003, 44.6792)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3DB5 #95B53D
analogous
#3D59B5 #5D3DB5 #993DB5
triadic
#5D3DB5 #B55D3D #3DB55D
tetradic
#5D3DB5 #B53D59 #95B53D #3DB599
square
#5D3DB5 #B53D59 #95B53D #3DB599
split-complementary
#5D3DB5 #B5993D #59B53D
monochromatic
#2E1E59 #452E87 #5D3DB5 #8064CB #A592DA

Accessibility & contrast

On white

7.50
#5D3DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5D3DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3DB5
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3DB5#FFFFFF#000000##FFFFFF
##5D3DB51.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#405A74
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d3db5;
/* rgb */ color: rgb(93, 61, 181);
/* oklch */ color: oklch(46.7% 0.180 289.9);
Tailwind
colors: {
  custom: {
    50: '#9274cc',
    500: '#5d3db5',
    950: '#000000',
  },
}
SCSS
$custom: #5d3db5;
$custom-light: #9274cc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3db5",
  "rgb": {
    "r": 93,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 256,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46681,
    "c": 0.17973,
    "h": 289.9
  },
  "luminance": 0.09001
}

Semantic roles & 50–950 ramp

primary
#5D3DB5
secondary
#B5C588
accent
#D94FB4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5D3DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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