#5D3DB2#5D3DB2

#5D3DB2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.4% C 0.176 H 290.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#5D3DB2
RGBrgb(93, 61, 178)
HSLhsl(256, 49%, 47%)
HSVhsv(256, 66%, 70%)
CMYKcmyk(47.8%, 65.7%, 0%, 30.2%)
CIE-LABlab(35.75, 42.36, -57.60)
CIE-LCHlch(35.75, 71.49, 306.33°)
OKLaboklab(46.44% 0.0615 -0.1649)
OKLCHoklch(46.44% 0.176 290.5)
XYZxyz(14.2165, 8.8785, 43.0755)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3DB2 #92B23D
analogous
#3D58B2 #5D3DB2 #983DB2
triadic
#5D3DB2 #B25D3D #3DB25D
tetradic
#5D3DB2 #B23D58 #92B23D #3DB298
square
#5D3DB2 #B23D58 #92B23D #3DB298
split-complementary
#5D3DB2 #B2983D #58B23D
monochromatic
#2D1E57 #452D84 #5D3DB2 #7F63C9 #A490D9

Accessibility & contrast

On white

7.57
#5D3DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D3DB2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3DB2#FFFFFF#000000##FFFFFF
##5D3DB21.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#425972
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d3db2;
/* rgb */ color: rgb(93, 61, 178);
/* oklch */ color: oklch(46.4% 0.176 290.5);
Tailwind
colors: {
  custom: {
    50: '#9274ca',
    500: '#5d3db2',
    950: '#000000',
  },
}
SCSS
$custom: #5d3db2;
$custom-light: #9274ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3db2",
  "rgb": {
    "r": 93,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 256.41,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46437,
    "c": 0.17601,
    "h": 290.5
  },
  "luminance": 0.08879
}

Semantic roles & 50–950 ramp

primary
#5D3DB2
secondary
#B3C487
accent
#D94FB3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5D3DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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