#5D3BCA#5D3BCA

#5D3BCA is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.2% C 0.207 H 286.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#5D3BCA
RGBrgb(93, 59, 202)
HSLhsl(254, 57%, 51%)
HSVhsv(254, 71%, 79%)
CMYKcmyk(54%, 70.8%, 0%, 20.8%)
CIE-LABlab(37.33, 50.36, -69.10)
CIE-LCHlch(37.33, 85.51, 306.09°)
OKLaboklab(48.19% 0.0595 -0.1987)
OKLCHoklch(48.19% 0.207 286.7)
XYZxyz(16.7357, 9.7185, 56.8597)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3BCA #A8CA3B
analogous
#3B60CA #5D3BCA #A43BCA
triadic
#5D3BCA #CA5D3B #3BCA5D
tetradic
#5D3BCA #CA3B60 #A8CA3B #3BCAA4
square
#5D3BCA #CA3B60 #A8CA3B #3BCAA4
split-complementary
#5D3BCA #CAA43B #60CA3B
monochromatic
#301E6D #462B9D #5D3BCA #856BD7 #AD9BE4

Accessibility & contrast

On white

7.13
#5D3BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5D3BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3BCA
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3BCA#FFFFFF#000000##FFFFFF
##5D3BCA1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#2F617E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5d3bca;
/* rgb */ color: rgb(93, 59, 202);
/* oklch */ color: oklch(48.2% 0.207 286.7);
Tailwind
colors: {
  custom: {
    50: '#9674db',
    500: '#5d3bca',
    950: '#000000',
  },
}
SCSS
$custom: #5d3bca;
$custom-light: #9674db;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3bca",
  "rgb": {
    "r": 93,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 254.266,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48185,
    "c": 0.20742,
    "h": 286.7
  },
  "luminance": 0.09719
}

Semantic roles & 50–950 ramp

primary
#5D3BCA
secondary
#C1D091
accent
#E147BC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5D3BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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