#5B3ABC#5B3ABC

#5B3ABC is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.6% C 0.192 H 288.3°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5B3ABC
RGBrgb(91, 58, 188)
HSLhsl(255, 53%, 48%)
HSVhsv(255, 69%, 74%)
CMYKcmyk(51.6%, 69.1%, 0%, 26.3%)
CIE-LABlab(35.75, 46.54, -63.51)
CIE-LCHlch(35.75, 78.73, 306.23°)
OKLaboklab(46.64% 0.0601 -0.1824)
OKLCHoklch(46.64% 0.192 288.3)
XYZxyz(14.9019, 8.8804, 48.4961)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3ABC #9BBC3A
analogous
#3A5ABC #5B3ABC #9C3ABC
triadic
#5B3ABC #BC5B3A #3ABC5B
tetradic
#5B3ABC #BC3A5A #9BBC3A #3ABC9C
square
#5B3ABC #BC3A5A #9BBC3A #3ABC9C
split-complementary
#5B3ABC #BC9C3A #5ABC3A
monochromatic
#2E1D5E #442C8D #5B3ABC #7F64CF #A693DE

Accessibility & contrast

On white

7.56
#5B3ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5B3ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B3ABC
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3ABC#FFFFFF#000000##FFFFFF
##5B3ABC1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#375B76
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5b3abc;
/* rgb */ color: rgb(91, 58, 188);
/* oklch */ color: oklch(46.6% 0.192 288.3);
Tailwind
colors: {
  custom: {
    50: '#9273d1',
    500: '#5b3abc',
    950: '#000000',
  },
}
SCSS
$custom: #5b3abc;
$custom-light: #9273d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3abc",
  "rgb": {
    "r": 91,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 255.231,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46644,
    "c": 0.19201,
    "h": 288.3
  },
  "luminance": 0.08881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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