#5D3BC2#5D3BC2

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

Color values

HEX#5D3BC2
RGBrgb(93, 59, 194)
HSLhsl(255, 53%, 50%)
HSVhsv(255, 70%, 76%)
CMYKcmyk(52.1%, 69.6%, 0%, 23.9%)
CIE-LABlab(36.65, 48.06, -65.56)
CIE-LCHlch(36.65, 81.29, 306.25°)
OKLaboklab(47.49% 0.061 -0.1883)
OKLCHoklch(47.49% 0.198 288)
XYZxyz(15.8129, 9.3494, 51.9999)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3BC2 #A0C23B
analogous
#3B5DC2 #5D3BC2 #A13BC2
triadic
#5D3BC2 #C25D3B #3BC25D
tetradic
#5D3BC2 #C23B5D #A0C23B #3BC2A1
square
#5D3BC2 #C23B5D #A0C23B #3BC2A1
split-complementary
#5D3BC2 #C2A13B #5DC23B
monochromatic
#301E64 #472D93 #5D3BC2 #8369D1 #AA98E0

Accessibility & contrast

On white

7.32
#5D3BC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5D3BC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3BC2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3BC2#FFFFFF#000000##FFFFFF
##5D3BC21.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#375E7A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d3bc2;
/* rgb */ color: rgb(93, 59, 194);
/* oklch */ color: oklch(47.5% 0.198 288.0);
Tailwind
colors: {
  custom: {
    50: '#9474d5',
    500: '#5d3bc2',
    950: '#000000',
  },
}
SCSS
$custom: #5d3bc2;
$custom-light: #9474d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3bc2",
  "rgb": {
    "r": 93,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 255.111,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47487,
    "c": 0.19794,
    "h": 288
  },
  "luminance": 0.0935
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D3BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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