#5B3ABD#5B3ABD

#5B3ABD is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.7% C 0.193 H 288.1°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5B3ABD
RGBrgb(91, 58, 189)
HSLhsl(255, 53%, 48%)
HSVhsv(255, 69%, 74%)
CMYKcmyk(51.9%, 69.3%, 0%, 25.9%)
CIE-LABlab(35.84, 46.83, -63.96)
CIE-LCHlch(35.84, 79.27, 306.21°)
OKLaboklab(46.73% 0.06 -0.1837)
OKLCHoklch(46.73% 0.193 288.1)
XYZxyz(15.0101, 8.9237, 49.0658)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3ABD #9CBD3A
analogous
#3A5ABD #5B3ABD #9C3ABD
triadic
#5B3ABD #BD5B3A #3ABD5B
tetradic
#5B3ABD #BD3A5A #9CBD3A #3ABD9C
square
#5B3ABD #BD3A5A #9CBD3A #3ABD9C
split-complementary
#5B3ABD #BD9C3A #5ABD3A
monochromatic
#2E1D5F #442C8E #5B3ABD #8065D0 #A693DE

Accessibility & contrast

On white

7.54
#5B3ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B3ABD
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3ABD#FFFFFF#000000##FFFFFF
##5B3ABD1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b3abd;
/* rgb */ color: rgb(91, 58, 189);
/* oklch */ color: oklch(46.7% 0.193 288.1);
Tailwind
colors: {
  custom: {
    50: '#9373d2',
    500: '#5b3abd',
    950: '#000000',
  },
}
SCSS
$custom: #5b3abd;
$custom-light: #9373d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3abd",
  "rgb": {
    "r": 91,
    "g": 58,
    "b": 189
  },
  "hsl": {
    "h": 255.115,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4673,
    "c": 0.19321,
    "h": 288.1
  },
  "luminance": 0.08924
}

Semantic roles & 50–950 ramp

primary
#5B3ABD
secondary
#B9C98A
accent
#DC4BB8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5B3ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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