#5D3CBF#5D3CBF

#5D3CBF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.193 H 288.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#5D3CBF
RGBrgb(93, 60, 191)
HSLhsl(255, 52%, 49%)
HSVhsv(255, 69%, 75%)
CMYKcmyk(51.3%, 68.6%, 0%, 25.1%)
CIE-LABlab(36.59, 46.66, -63.89)
CIE-LCHlch(36.59, 79.12, 306.14°)
OKLaboklab(47.37% 0.0606 -0.1834)
OKLCHoklch(47.37% 0.193 288.3)
XYZxyz(15.5313, 9.3197, 50.2606)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3CBF #9EBF3C
analogous
#3C5CBF #5D3CBF #9F3CBF
triadic
#5D3CBF #BF5D3C #3CBF5D
tetradic
#5D3CBF #BF3C5C #9EBF3C #3CBF9F
square
#5D3CBF #BF3C5C #9EBF3C #3CBF9F
split-complementary
#5D3CBF #BF9F3C #5CBF3C
monochromatic
#301F62 #462D90 #5D3CBF #8268D0 #A997DE

Accessibility & contrast

On white

7.33
#5D3CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D3CBF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3CBF#FFFFFF#000000##FFFFFF
##5D3CBF1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#395D79
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d3cbf;
/* rgb */ color: rgb(93, 60, 191);
/* oklch */ color: oklch(47.4% 0.193 288.3);
Tailwind
colors: {
  custom: {
    50: '#9474d3',
    500: '#5d3cbf',
    950: '#000000',
  },
}
SCSS
$custom: #5d3cbf;
$custom-light: #9474d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3cbf",
  "rgb": {
    "r": 93,
    "g": 60,
    "b": 191
  },
  "hsl": {
    "h": 255.115,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47369,
    "c": 0.19317,
    "h": 288.3
  },
  "luminance": 0.0932
}

Semantic roles & 50–950 ramp

primary
#5D3CBF
secondary
#BBCA8D
accent
#DC4CB7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D3CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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