#5B3FC0#5B3FC0

#5B3FC0 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.7% C 0.191 H 286.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#5B3FC0
RGBrgb(91, 63, 192)
HSLhsl(253, 51%, 50%)
HSVhsv(253, 67%, 75%)
CMYKcmyk(52.6%, 67.2%, 0%, 24.7%)
CIE-LABlab(37.09, 44.96, -63.68)
CIE-LCHlch(37.09, 77.95, 305.22°)
OKLaboklab(47.7% 0.0549 -0.1829)
OKLCHoklch(47.7% 0.191 286.7)
XYZxyz(15.6035, 9.5841, 50.8867)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3FC0 #A4C03F
analogous
#3F64C0 #5B3FC0 #9B3FC0
triadic
#5B3FC0 #C05B3F #3FC05B
tetradic
#5B3FC0 #C03F64 #A4C03F #3FC09B
square
#5B3FC0 #C03F64 #A4C03F #3FC09B
split-complementary
#5B3FC0 #C09B3F #64C03F
monochromatic
#2F2164 #453092 #5B3FC0 #826DCF #AA9BDE

Accessibility & contrast

On white

7.20
#5B3FC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5B3FC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B3FC0
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3FC0#FFFFFF#000000##FFFFFF
##5B3FC01.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#33607A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5b3fc0;
/* rgb */ color: rgb(91, 63, 192);
/* oklch */ color: oklch(47.7% 0.191 286.7);
Tailwind
colors: {
  custom: {
    50: '#9376d4',
    500: '#5b3fc0',
    950: '#000000',
  },
}
SCSS
$custom: #5b3fc0;
$custom-light: #9376d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3fc0",
  "rgb": {
    "r": 91,
    "g": 63,
    "b": 192
  },
  "hsl": {
    "h": 253.023,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.47703,
    "c": 0.19092,
    "h": 286.7
  },
  "luminance": 0.09585
}

Semantic roles & 50–950 ramp

primary
#5B3FC0
secondary
#BECA91
accent
#DA4EBC
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5B3FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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