#5D3BB3#5D3BB3

#5D3BB3 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.2% C 0.180 H 290.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5D3BB3
RGBrgb(93, 59, 179)
HSLhsl(257, 50%, 47%)
HSVhsv(257, 67%, 70%)
CMYKcmyk(48%, 67%, 0%, 29.8%)
CIE-LABlab(35.42, 43.76, -58.73)
CIE-LCHlch(35.42, 73.24, 306.69°)
OKLaboklab(46.22% 0.0634 -0.1682)
OKLCHoklch(46.22% 0.18 290.7)
XYZxyz(14.2125, 8.7092, 43.5713)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3BB3 #91B33B
analogous
#3B55B3 #5D3BB3 #993BB3
triadic
#5D3BB3 #B35D3B #3BB35D
tetradic
#5D3BB3 #B33B55 #91B33B #3BB399
square
#5D3BB3 #B33B55 #91B33B #3BB399
split-complementary
#5D3BB3 #B3993B #55B33B
monochromatic
#2D1D57 #452C85 #5D3BB3 #7F60CB #A48EDA

Accessibility & contrast

On white

7.66
#5D3BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5D3BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3BB3
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3BB3#FFFFFF#000000##FFFFFF
##5D3BB31.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#415872
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d3bb3;
/* rgb */ color: rgb(93, 59, 179);
/* oklch */ color: oklch(46.2% 0.180 290.7);
Tailwind
colors: {
  custom: {
    50: '#9273cb',
    500: '#5d3bb3',
    950: '#000000',
  },
}
SCSS
$custom: #5d3bb3;
$custom-light: #9273cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3bb3",
  "rgb": {
    "r": 93,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 257,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46223,
    "c": 0.17981,
    "h": 290.7
  },
  "luminance": 0.0871
}

Semantic roles & 50–950 ramp

primary
#5D3BB3
secondary
#B3C585
accent
#DA4EB2
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5D3BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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