#5B3EBF#5B3EBF

#5B3EBF is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.191 H 287.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5B3EBF
RGBrgb(91, 62, 191)
HSLhsl(253, 51%, 50%)
HSVhsv(253, 68%, 75%)
CMYKcmyk(52.4%, 67.5%, 0%, 25.1%)
CIE-LABlab(36.80, 45.22, -63.56)
CIE-LCHlch(36.80, 78.01, 305.43°)
OKLaboklab(47.47% 0.056 -0.1825)
OKLCHoklch(47.47% 0.191 287)
XYZxyz(15.4382, 9.4302, 50.2869)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3EBF #A2BF3E
analogous
#3E62BF #5B3EBF #9B3EBF
triadic
#5B3EBF #BF5B3E #3EBF5B
tetradic
#5B3EBF #BF3E62 #A2BF3E #3EBF9B
square
#5B3EBF #BF3E62 #A2BF3E #3EBF9B
split-complementary
#5B3EBF #BF9B3E #62BF3E
monochromatic
#2F2063 #452F91 #5B3EBF #826BCF #A999DE

Accessibility & contrast

On white

7.28
#5B3EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5B3EBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B3EBF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3EBF#FFFFFF#000000##FFFFFF
##5B3EBF1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#345F79
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5b3ebf;
/* rgb */ color: rgb(91, 62, 191);
/* oklch */ color: oklch(47.5% 0.191 287.0);
Tailwind
colors: {
  custom: {
    50: '#9375d3',
    500: '#5b3ebf',
    950: '#000000',
  },
}
SCSS
$custom: #5b3ebf;
$custom-light: #9375d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3ebf",
  "rgb": {
    "r": 91,
    "g": 62,
    "b": 191
  },
  "hsl": {
    "h": 253.488,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47472,
    "c": 0.1909,
    "h": 287
  },
  "luminance": 0.09431
}

Semantic roles & 50–950 ramp

primary
#5B3EBF
secondary
#BDCA8F
accent
#DA4DBB
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5B3EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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