#5D3CBE#5D3CBE

#5D3CBE is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.3% C 0.192 H 288.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#5D3CBE
RGBrgb(93, 60, 190)
HSLhsl(255, 52%, 49%)
HSVhsv(255, 68%, 75%)
CMYKcmyk(51.1%, 68.4%, 0%, 25.5%)
CIE-LABlab(36.51, 46.37, -63.44)
CIE-LCHlch(36.51, 78.58, 306.17°)
OKLaboklab(47.29% 0.0608 -0.1821)
OKLCHoklch(47.29% 0.192 288.5)
XYZxyz(15.4216, 9.2759, 49.6831)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3CBE #9DBE3C
analogous
#3C5CBE #5D3CBE #9E3CBE
triadic
#5D3CBE #BE5D3C #3CBE5D
tetradic
#5D3CBE #BE3C5C #9DBE3C #3CBE9E
square
#5D3CBE #BE3C5C #9DBE3C #3CBE9E
split-complementary
#5D3CBE #BE9E3C #5CBE3C
monochromatic
#2F1F61 #462D8F #5D3CBE #8268CF #A996DE

Accessibility & contrast

On white

7.35
#5D3CBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5D3CBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3CBE
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3CBE#FFFFFF#000000##FFFFFF
##5D3CBE1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#3A5D78
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d3cbe;
/* rgb */ color: rgb(93, 60, 190);
/* oklch */ color: oklch(47.3% 0.192 288.5);
Tailwind
colors: {
  custom: {
    50: '#9474d3',
    500: '#5d3cbe',
    950: '#000000',
  },
}
SCSS
$custom: #5d3cbe;
$custom-light: #9474d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3cbe",
  "rgb": {
    "r": 93,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 255.231,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47285,
    "c": 0.19196,
    "h": 288.5
  },
  "luminance": 0.09277
}

Semantic roles & 50–950 ramp

primary
#5D3CBE
secondary
#BACA8C
accent
#DB4CB7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D3CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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