#5B3BBD#5B3BBD

#5B3BBD is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.192 H 287.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#5B3BBD
RGBrgb(91, 59, 189)
HSLhsl(255, 52%, 49%)
HSVhsv(255, 69%, 74%)
CMYKcmyk(51.9%, 68.8%, 0%, 25.9%)
CIE-LABlab(36.03, 46.29, -63.64)
CIE-LCHlch(36.03, 78.69, 306.03°)
OKLaboklab(46.87% 0.0591 -0.1827)
OKLCHoklch(46.87% 0.192 287.9)
XYZxyz(15.0610, 9.0255, 49.0828)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3BBD #9DBD3B
analogous
#3B5CBD #5B3BBD #9C3BBD
triadic
#5B3BBD #BD5B3B #3BBD5B
tetradic
#5B3BBD #BD3B5C #9DBD3B #3BBD9C
square
#5B3BBD #BD3B5C #9DBD3B #3BBD9C
split-complementary
#5B3BBD #BD9C3B #5CBD3B
monochromatic
#2E1E60 #452C8E #5B3BBD #8066CF #A795DE

Accessibility & contrast

On white

7.49
#5B3BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5B3BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B3BBD
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3BBD#FFFFFF#000000##FFFFFF
##5B3BBD1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#365C77
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5b3bbd;
/* rgb */ color: rgb(91, 59, 189);
/* oklch */ color: oklch(46.9% 0.192 287.9);
Tailwind
colors: {
  custom: {
    50: '#9273d2',
    500: '#5b3bbd',
    950: '#000000',
  },
}
SCSS
$custom: #5b3bbd;
$custom-light: #9273d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3bbd",
  "rgb": {
    "r": 91,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 254.769,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46871,
    "c": 0.19203,
    "h": 287.9
  },
  "luminance": 0.09026
}

Semantic roles & 50–950 ramp

primary
#5B3BBD
secondary
#BAC98B
accent
#DC4CB8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5B3BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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