#5D3BC1#5D3BC1

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

Color values

HEX#5D3BC1
RGBrgb(93, 59, 193)
HSLhsl(255, 53%, 49%)
HSVhsv(255, 69%, 76%)
CMYKcmyk(51.8%, 69.4%, 0%, 24.3%)
CIE-LABlab(36.56, 47.78, -65.11)
CIE-LCHlch(36.56, 80.76, 306.27°)
OKLaboklab(47.4% 0.0612 -0.187)
OKLCHoklch(47.4% 0.197 288.1)
XYZxyz(15.7010, 9.3046, 51.4104)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3BC1 #9FC13B
analogous
#3B5CC1 #5D3BC1 #A03BC1
triadic
#5D3BC1 #C15D3B #3BC15D
tetradic
#5D3BC1 #C13B5C #9FC13B #3BC1A0
square
#5D3BC1 #C13B5C #9FC13B #3BC1A0
split-complementary
#5D3BC1 #C1A03B #5CC13B
monochromatic
#301E63 #462D92 #5D3BC1 #8368D1 #A997DF

Accessibility & contrast

On white

7.34
#5D3BC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D3BC1
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3BC1#FFFFFF#000000##FFFFFF
##5D3BC11.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#0052BE
Tritanopia (blue-blind)
#375E79
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d3bc1;
/* rgb */ color: rgb(93, 59, 193);
/* oklch */ color: oklch(47.4% 0.197 288.1);
Tailwind
colors: {
  custom: {
    50: '#9474d5',
    500: '#5d3bc1',
    950: '#000000',
  },
}
SCSS
$custom: #5d3bc1;
$custom-light: #9474d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3bc1",
  "rgb": {
    "r": 93,
    "g": 59,
    "b": 193
  },
  "hsl": {
    "h": 255.224,
    "s": 53.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47401,
    "c": 0.19674,
    "h": 288.1
  },
  "luminance": 0.09305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D3BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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