#5B3ABE#5B3ABE

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

Color values

HEX#5B3ABE
RGBrgb(91, 58, 190)
HSLhsl(255, 53%, 49%)
HSVhsv(255, 69%, 75%)
CMYKcmyk(52.1%, 69.5%, 0%, 25.5%)
CIE-LABlab(35.92, 47.12, -64.41)
CIE-LCHlch(35.92, 79.80, 306.19°)
OKLaboklab(46.82% 0.0598 -0.185)
OKLCHoklch(46.82% 0.194 287.9)
XYZxyz(15.1190, 8.9672, 49.6394)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3ABE #9DBE3A
analogous
#3A5BBE #5B3ABE #9D3ABE
triadic
#5B3ABE #BE5B3A #3ABE5B
tetradic
#5B3ABE #BE3A5B #9DBE3A #3ABE9D
square
#5B3ABE #BE3A5B #9DBE3A #3ABE9D
split-complementary
#5B3ABE #BE9D3A #5BBE3A
monochromatic
#2E1D60 #452C8F #5B3ABE #8065D0 #A794DE

Accessibility & contrast

On white

7.52
#5B3ABE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5B3ABE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B3ABE
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3ABE#FFFFFF#000000##FFFFFF
##5B3ABE1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#355C78
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5b3abe;
/* rgb */ color: rgb(91, 58, 190);
/* oklch */ color: oklch(46.8% 0.194 287.9);
Tailwind
colors: {
  custom: {
    50: '#9373d3',
    500: '#5b3abe',
    950: '#000000',
  },
}
SCSS
$custom: #5b3abe;
$custom-light: #9373d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3abe",
  "rgb": {
    "r": 91,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 255,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46816,
    "c": 0.19441,
    "h": 287.9
  },
  "luminance": 0.08968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B3ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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