#5B3BCD#5B3BCD

#5B3BCD is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.3% C 0.211 H 285.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#5B3BCD
RGBrgb(91, 59, 205)
HSLhsl(253, 59%, 52%)
HSVhsv(253, 71%, 80%)
CMYKcmyk(55.6%, 71.2%, 0%, 19.6%)
CIE-LABlab(37.41, 50.93, -70.73)
CIE-LCHlch(37.41, 87.16, 305.76°)
OKLaboklab(48.27% 0.0561 -0.2035)
OKLCHoklch(48.27% 0.211 285.4)
XYZxyz(16.8945, 9.7589, 58.7392)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3BCD #ADCD3B
analogous
#3B64CD #5B3BCD #A43BCD
triadic
#5B3BCD #CD5B3B #3BCD5B
tetradic
#5B3BCD #CD3B64 #ADCD3B #3BCDA4
square
#5B3BCD #CD3B64 #ADCD3B #3BCDA4
split-complementary
#5B3BCD #CDA43B #64CD3B
monochromatic
#2F1D71 #4429A2 #5B3BCD #846CD9 #AD9DE6

Accessibility & contrast

On white

7.11
#5B3BCD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5B3BCD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B3BCD
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3BCD#FFFFFF#000000##FFFFFF
##5B3BCD1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD1
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#256280
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5b3bcd;
/* rgb */ color: rgb(91, 59, 205);
/* oklch */ color: oklch(48.3% 0.211 285.4);
Tailwind
colors: {
  custom: {
    50: '#9574dd',
    500: '#5b3bcd',
    950: '#000000',
  },
}
SCSS
$custom: #5b3bcd;
$custom-light: #9574dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3bcd",
  "rgb": {
    "r": 91,
    "g": 59,
    "b": 205
  },
  "hsl": {
    "h": 253.151,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48272,
    "c": 0.21112,
    "h": 285.4
  },
  "luminance": 0.0976
}

Semantic roles & 50–950 ramp

primary
#5B3BCD
secondary
#C4D292
accent
#E345C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5B3BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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