#5D3CC1#5D3CC1

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

Color values

HEX#5D3CC1
RGBrgb(93, 60, 193)
HSLhsl(255, 53%, 50%)
HSVhsv(255, 69%, 76%)
CMYKcmyk(51.8%, 68.9%, 0%, 24.3%)
CIE-LABlab(36.76, 47.24, -64.79)
CIE-LCHlch(36.76, 80.18, 306.10°)
OKLaboklab(47.54% 0.0603 -0.186)
OKLCHoklch(47.54% 0.196 288)
XYZxyz(15.7529, 9.4084, 51.4277)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3CC1 #A0C13C
analogous
#3C5EC1 #5D3CC1 #9F3CC1
triadic
#5D3CC1 #C15D3C #3CC15D
tetradic
#5D3CC1 #C13C5E #A0C13C #3CC19F
square
#5D3CC1 #C13C5E #A0C13C #3CC19F
split-complementary
#5D3CC1 #C19F3C #5EC13C
monochromatic
#301F64 #472D92 #5D3CC1 #836AD1 #AA98DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D3CC1#FFFFFF#000000##FFFFFF
##5D3CC11.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)
#0059C5
Deuteranopia (green-blind)
#0053BE
Tritanopia (blue-blind)
#375E7A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d3cc1;
/* rgb */ color: rgb(93, 60, 193);
/* oklch */ color: oklch(47.5% 0.196 288.0);
Tailwind
colors: {
  custom: {
    50: '#9474d5',
    500: '#5d3cc1',
    950: '#000000',
  },
}
SCSS
$custom: #5d3cc1;
$custom-light: #9474d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3cc1",
  "rgb": {
    "r": 93,
    "g": 60,
    "b": 193
  },
  "hsl": {
    "h": 254.887,
    "s": 52.569,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4754,
    "c": 0.19557,
    "h": 288
  },
  "luminance": 0.09409
}

Semantic roles & 50–950 ramp

primary
#5D3CC1
secondary
#BCCB8E
accent
#DC4CB8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D3CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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