#5B3EDB#5B3EDB

#5B3EDB is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 49.9% C 0.224 H 283.1°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5B3EDB
RGBrgb(91, 62, 219)
HSLhsl(251, 69%, 55%)
HSVhsv(251, 72%, 86%)
CMYKcmyk(58.4%, 71.7%, 0%, 14.1%)
CIE-LABlab(39.21, 53.44, -75.84)
CIE-LCHlch(39.21, 92.78, 305.17°)
OKLaboklab(49.94% 0.0509 -0.2185)
OKLCHoklch(49.94% 0.224 283.1)
XYZxyz(18.8192, 10.7826, 68.0937)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3EDB #BEDB3E
analogous
#3E6FDB #5B3EDB #AA3EDB
triadic
#5B3EDB #DB5B3E #3EDB5B
tetradic
#5B3EDB #DB3E6F #BEDB3E #3EDBAA
square
#5B3EDB #DB3E6F #BEDB3E #3EDBAA
split-complementary
#5B3EDB #DBAA3E #6FDB3E
monochromatic
#2D1986 #3E23B9 #5B3EDB #8772E5 #B3A5EE

Accessibility & contrast

On white

6.65
#5B3EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5B3EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B3EDB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3EDB#FFFFFF#000000##FFFFFF
##5B3EDB1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E0
Deuteranopia (green-blind)
#0057D8
Tritanopia (blue-blind)
#036989
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b3edb;
/* rgb */ color: rgb(91, 62, 219);
/* oklch */ color: oklch(49.9% 0.224 283.1);
Tailwind
colors: {
  custom: {
    50: '#9776e7',
    500: '#5b3edb',
    950: '#000000',
  },
}
SCSS
$custom: #5b3edb;
$custom-light: #9776e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3edb",
  "rgb": {
    "r": 91,
    "g": 62,
    "b": 219
  },
  "hsl": {
    "h": 251.083,
    "s": 68.559,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49935,
    "c": 0.22436,
    "h": 283.1
  },
  "luminance": 0.10784
}

Semantic roles & 50–950 ramp

primary
#5B3EDB
secondary
#CFDB99
accent
#EB3CCB
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5B3EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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