#5B3ABF#5B3ABF

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

Color values

HEX#5B3ABF
RGBrgb(91, 58, 191)
HSLhsl(255, 53%, 49%)
HSVhsv(255, 70%, 75%)
CMYKcmyk(52.4%, 69.6%, 0%, 25.1%)
CIE-LABlab(36.01, 47.40, -64.86)
CIE-LCHlch(36.01, 80.34, 306.16°)
OKLaboklab(46.9% 0.0596 -0.1863)
OKLCHoklch(46.9% 0.196 287.7)
XYZxyz(15.2286, 9.0111, 50.2170)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3ABF #9EBF3A
analogous
#3A5CBF #5B3ABF #9E3ABF
triadic
#5B3ABF #BF5B3A #3ABF5B
tetradic
#5B3ABF #BF3A5C #9EBF3A #3ABF9E
square
#5B3ABF #BF3A5C #9EBF3A #3ABF9E
split-complementary
#5B3ABF #BF9E3A #5CBF3A
monochromatic
#2E1D61 #452C90 #5B3ABF #8066D0 #A795DF

Accessibility & contrast

On white

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

On black

2.80
#5B3ABF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5B3ABF#FFFFFF#000000##FFFFFF
##5B3ABF1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#0051BC
Tritanopia (blue-blind)
#345C78
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5b3abf;
/* rgb */ color: rgb(91, 58, 191);
/* oklch */ color: oklch(46.9% 0.196 287.7);
Tailwind
colors: {
  custom: {
    50: '#9373d3',
    500: '#5b3abf',
    950: '#000000',
  },
}
SCSS
$custom: #5b3abf;
$custom-light: #9373d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3abf",
  "rgb": {
    "r": 91,
    "g": 58,
    "b": 191
  },
  "hsl": {
    "h": 254.887,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46903,
    "c": 0.19561,
    "h": 287.7
  },
  "luminance": 0.09012
}

Semantic roles & 50–950 ramp

primary
#5B3ABF
secondary
#BACA8B
accent
#DD4BB9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5B3ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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