#5D3BC0#5D3BC0

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

Color values

HEX#5D3BC0
RGBrgb(93, 59, 192)
HSLhsl(255, 53%, 49%)
HSVhsv(255, 69%, 75%)
CMYKcmyk(51.6%, 69.3%, 0%, 24.7%)
CIE-LABlab(36.48, 47.49, -64.66)
CIE-LCHlch(36.48, 80.23, 306.29°)
OKLaboklab(47.32% 0.0614 -0.1857)
OKLCHoklch(47.32% 0.196 288.3)
XYZxyz(15.5898, 9.2601, 50.8249)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3BC0 #9EC03B
analogous
#3B5CC0 #5D3BC0 #A03BC0
triadic
#5D3BC0 #C05D3B #3BC05D
tetradic
#5D3BC0 #C03B5C #9EC03B #3BC0A0
square
#5D3BC0 #C03B5C #9EC03B #3BC0A0
split-complementary
#5D3BC0 #C0A03B #5CC03B
monochromatic
#301E62 #462D91 #5D3BC0 #8268D1 #A997DF

Accessibility & contrast

On white

7.36
#5D3BC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5D3BC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3BC0
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3BC0#FFFFFF#000000##FFFFFF
##5D3BC01.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#0052BD
Tritanopia (blue-blind)
#385D79
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d3bc0;
/* rgb */ color: rgb(93, 59, 192);
/* oklch */ color: oklch(47.3% 0.196 288.3);
Tailwind
colors: {
  custom: {
    50: '#9474d4',
    500: '#5d3bc0',
    950: '#000000',
  },
}
SCSS
$custom: #5d3bc0;
$custom-light: #9474d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3bc0",
  "rgb": {
    "r": 93,
    "g": 59,
    "b": 192
  },
  "hsl": {
    "h": 255.338,
    "s": 52.988,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47315,
    "c": 0.19555,
    "h": 288.3
  },
  "luminance": 0.09261
}

Semantic roles & 50–950 ramp

primary
#5D3BC0
secondary
#BBCA8C
accent
#DC4BB7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D3BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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