#5B3BCE#5B3BCE

#5B3BCE is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.4% C 0.212 H 285.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5B3BCE
RGBrgb(91, 59, 206)
HSLhsl(253, 60%, 52%)
HSVhsv(253, 71%, 81%)
CMYKcmyk(55.8%, 71.4%, 0%, 19.2%)
CIE-LABlab(37.49, 51.22, -71.17)
CIE-LCHlch(37.49, 87.68, 305.74°)
OKLaboklab(48.36% 0.0559 -0.2048)
OKLCHoklch(48.36% 0.212 285.3)
XYZxyz(17.0156, 9.8073, 59.3769)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3BCE #AECE3B
analogous
#3B65CE #5B3BCE #A43BCE
triadic
#5B3BCE #CE5B3B #3BCE5B
tetradic
#5B3BCE #CE3B65 #AECE3B #3BCEA4
square
#5B3BCE #CE3B65 #AECE3B #3BCEA4
split-complementary
#5B3BCE #CEA43B #65CE3B
monochromatic
#2F1D72 #4329A3 #5B3BCE #846CDA #AD9DE6

Accessibility & contrast

On white

7.09
#5B3BCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5B3BCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B3BCE
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3BCE#FFFFFF#000000##FFFFFF
##5B3BCE1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD2
Deuteranopia (green-blind)
#0054CB
Tritanopia (blue-blind)
#246381
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5b3bce;
/* rgb */ color: rgb(91, 59, 206);
/* oklch */ color: oklch(48.4% 0.212 285.3);
Tailwind
colors: {
  custom: {
    50: '#9574de',
    500: '#5b3bce',
    950: '#000000',
  },
}
SCSS
$custom: #5b3bce;
$custom-light: #9574de;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3bce",
  "rgb": {
    "r": 91,
    "g": 59,
    "b": 206
  },
  "hsl": {
    "h": 253.061,
    "s": 60,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48362,
    "c": 0.2123,
    "h": 285.3
  },
  "luminance": 0.09808
}

Semantic roles & 50–950 ramp

primary
#5B3BCE
secondary
#C5D392
accent
#E345C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5B3BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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