#5D3BC3#5D3BC3

#5D3BC3 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.6% C 0.199 H 287.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5D3BC3
RGBrgb(93, 59, 195)
HSLhsl(255, 54%, 50%)
HSVhsv(255, 70%, 76%)
CMYKcmyk(52.3%, 69.7%, 0%, 23.5%)
CIE-LABlab(36.73, 48.35, -66.00)
CIE-LCHlch(36.73, 81.82, 306.22°)
OKLaboklab(47.57% 0.0608 -0.1896)
OKLCHoklch(47.57% 0.199 287.8)
XYZxyz(15.9256, 9.3944, 52.5933)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3BC3 #A1C33B
analogous
#3B5DC3 #5D3BC3 #A13BC3
triadic
#5D3BC3 #C35D3B #3BC35D
tetradic
#5D3BC3 #C33B5D #A1C33B #3BC3A1
square
#5D3BC3 #C33B5D #A1C33B #3BC3A1
split-complementary
#5D3BC3 #C3A13B #5DC33B
monochromatic
#301F65 #472D94 #5D3BC3 #8469D2 #AA98E0

Accessibility & contrast

On white

7.29
#5D3BC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5D3BC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3BC3
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3BC3#FFFFFF#000000##FFFFFF
##5D3BC31.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#365E7B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d3bc3;
/* rgb */ color: rgb(93, 59, 195);
/* oklch */ color: oklch(47.6% 0.199 287.8);
Tailwind
colors: {
  custom: {
    50: '#9474d6',
    500: '#5d3bc3',
    950: '#000000',
  },
}
SCSS
$custom: #5d3bc3;
$custom-light: #9474d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3bc3",
  "rgb": {
    "r": 93,
    "g": 59,
    "b": 195
  },
  "hsl": {
    "h": 255,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47573,
    "c": 0.19913,
    "h": 287.8
  },
  "luminance": 0.09395
}

Semantic roles & 50–950 ramp

primary
#5D3BC3
secondary
#BCCC8E
accent
#DD4BB8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D3BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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