#5B3CE0#5B3CE0

#5B3CE0 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.1% C 0.232 H 282.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5B3CE0
RGBrgb(91, 60, 224)
HSLhsl(251, 73%, 56%)
HSVhsv(251, 73%, 88%)
CMYKcmyk(59.4%, 73.2%, 0%, 12.2%)
CIE-LABlab(39.30, 55.92, -78.55)
CIE-LCHlch(39.30, 96.42, 305.45°)
OKLaboklab(50.14% 0.0513 -0.2264)
OKLCHoklch(50.14% 0.232 282.8)
XYZxyz(19.3806, 10.8364, 71.5769)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3CE0 #C1E03C
analogous
#3C6FE0 #5B3CE0 #AD3CE0
triadic
#5B3CE0 #E05B3C #3CE05B
tetradic
#5B3CE0 #E03C6F #C1E03C #3CE0AD
square
#5B3CE0 #E03C6F #C1E03C #3CE0AD
split-complementary
#5B3CE0 #E0AD3C #6FE03C
monochromatic
#2C168B #3D1FC0 #5B3CE0 #8771E8 #B4A6F1

Accessibility & contrast

On white

6.63
#5B3CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5B3CE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B3CE0
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3CE0#FFFFFF#000000##FFFFFF
##5B3CE01.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E5
Deuteranopia (green-blind)
#0057DD
Tritanopia (blue-blind)
#006A8B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5b3ce0;
/* rgb */ color: rgb(91, 60, 224);
/* oklch */ color: oklch(50.1% 0.232 282.8);
Tailwind
colors: {
  custom: {
    50: '#9875eb',
    500: '#5b3ce0',
    950: '#000000',
  },
}
SCSS
$custom: #5b3ce0;
$custom-light: #9875eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3ce0",
  "rgb": {
    "r": 91,
    "g": 60,
    "b": 224
  },
  "hsl": {
    "h": 251.341,
    "s": 72.566,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50138,
    "c": 0.23215,
    "h": 282.8
  },
  "luminance": 0.10838
}

Semantic roles & 50–950 ramp

primary
#5B3CE0
secondary
#D1DE9A
accent
#EF39CD
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5B3CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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