#5B3CBF#5B3CBF

#5B3CBF is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.2% C 0.193 H 287.4°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#5B3CBF
RGBrgb(91, 60, 191)
HSLhsl(254, 52%, 49%)
HSVhsv(254, 69%, 75%)
CMYKcmyk(52.4%, 68.6%, 0%, 25.1%)
CIE-LABlab(36.40, 46.32, -64.22)
CIE-LCHlch(36.40, 79.18, 305.80°)
OKLaboklab(47.18% 0.0578 -0.1844)
OKLCHoklch(47.18% 0.193 287.4)
XYZxyz(15.3314, 9.2167, 50.2513)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3CBF #A0BF3C
analogous
#3C5FBF #5B3CBF #9C3CBF
triadic
#5B3CBF #BF5B3C #3CBF5B
tetradic
#5B3CBF #BF3C5F #A0BF3C #3CBF9C
square
#5B3CBF #BF3C5F #A0BF3C #3CBF9C
split-complementary
#5B3CBF #BF9C3C #5FBF3C
monochromatic
#2F1F62 #452D90 #5B3CBF #8168D0 #A897DE

Accessibility & contrast

On white

7.39
#5B3CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5B3CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B3CBF
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3CBF#FFFFFF#000000##FFFFFF
##5B3CBF1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#0052BC
Tritanopia (blue-blind)
#345E79
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5b3cbf;
/* rgb */ color: rgb(91, 60, 191);
/* oklch */ color: oklch(47.2% 0.193 287.4);
Tailwind
colors: {
  custom: {
    50: '#9374d3',
    500: '#5b3cbf',
    950: '#000000',
  },
}
SCSS
$custom: #5b3cbf;
$custom-light: #9374d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3cbf",
  "rgb": {
    "r": 91,
    "g": 60,
    "b": 191
  },
  "hsl": {
    "h": 254.198,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47184,
    "c": 0.19328,
    "h": 287.4
  },
  "luminance": 0.09217
}

Semantic roles & 50–950 ramp

primary
#5B3CBF
secondary
#BBCA8D
accent
#DC4CBA
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5B3CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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