#5B3DD1#5B3DD1

#5B3DD1 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 48.9% C 0.214 H 284.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#5B3DD1
RGBrgb(91, 61, 209)
HSLhsl(252, 62%, 53%)
HSVhsv(252, 71%, 82%)
CMYKcmyk(56.5%, 70.8%, 0%, 18%)
CIE-LABlab(38.14, 51.04, -71.85)
CIE-LCHlch(38.14, 88.14, 305.39°)
OKLaboklab(48.9% 0.0537 -0.2068)
OKLCHoklch(48.9% 0.214 284.6)
XYZxyz(17.4882, 10.1640, 61.3496)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3DD1 #B3D13D
analogous
#3D69D1 #5B3DD1 #A53DD1
triadic
#5B3DD1 #D15B3D #3DD15B
tetradic
#5B3DD1 #D13D69 #B3D13D #3DD1A5
square
#5B3DD1 #D13D69 #B3D13D #3DD1A5
split-complementary
#5B3DD1 #D1A53D #69D13D
monochromatic
#2F1C77 #4228A9 #5B3DD1 #856EDD #AFA0E8

Accessibility & contrast

On white

6.92
#5B3DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5B3DD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B3DD1
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3DD1#FFFFFF#000000##FFFFFF
##5B3DD11.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED5
Deuteranopia (green-blind)
#0055CE
Tritanopia (blue-blind)
#1F6583
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5b3dd1;
/* rgb */ color: rgb(91, 61, 209);
/* oklch */ color: oklch(48.9% 0.214 284.6);
Tailwind
colors: {
  custom: {
    50: '#9575e0',
    500: '#5b3dd1',
    950: '#000000',
  },
}
SCSS
$custom: #5b3dd1;
$custom-light: #9575e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3dd1",
  "rgb": {
    "r": 91,
    "g": 61,
    "b": 209
  },
  "hsl": {
    "h": 252.162,
    "s": 61.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48898,
    "c": 0.21369,
    "h": 284.6
  },
  "luminance": 0.10165
}

Semantic roles & 50–950 ramp

primary
#5B3DD1
secondary
#C8D595
accent
#E543C4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5B3DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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