#5B3DD3#5B3DD3

#5B3DD3 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.1% C 0.216 H 284.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5B3DD3
RGBrgb(91, 61, 211)
HSLhsl(252, 63%, 53%)
HSVhsv(252, 71%, 83%)
CMYKcmyk(56.9%, 71.1%, 0%, 17.3%)
CIE-LABlab(38.31, 51.63, -72.72)
CIE-LCHlch(38.31, 89.18, 305.37°)
OKLaboklab(49.08% 0.0533 -0.2094)
OKLCHoklch(49.08% 0.216 284.3)
XYZxyz(17.7374, 10.2637, 62.6618)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3DD3 #B5D33D
analogous
#3D6AD3 #5B3DD3 #A63DD3
triadic
#5B3DD3 #D35B3D #3DD35B
tetradic
#5B3DD3 #D33D6A #B5D33D #3DD3A6
square
#5B3DD3 #D33D6A #B5D33D #3DD3A6
split-complementary
#5B3DD3 #D3A63D #6AD33D
monochromatic
#2F1C7A #4227AC #5B3DD3 #856FDE #AFA1EA

Accessibility & contrast

On white

6.88
#5B3DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5B3DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B3DD3
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3DD3#FFFFFF#000000##FFFFFF
##5B3DD31.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD7
Deuteranopia (green-blind)
#0055D0
Tritanopia (blue-blind)
#1C6584
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5b3dd3;
/* rgb */ color: rgb(91, 61, 211);
/* oklch */ color: oklch(49.1% 0.216 284.3);
Tailwind
colors: {
  custom: {
    50: '#9675e2',
    500: '#5b3dd3',
    950: '#000000',
  },
}
SCSS
$custom: #5b3dd3;
$custom-light: #9675e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3dd3",
  "rgb": {
    "r": 91,
    "g": 61,
    "b": 211
  },
  "hsl": {
    "h": 252,
    "s": 63.025,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49078,
    "c": 0.21604,
    "h": 284.3
  },
  "luminance": 0.10265
}

Semantic roles & 50–950 ramp

primary
#5B3DD3
secondary
#C9D696
accent
#E642C5
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0F0915
muted
#7E7B84

Preview Lab

Preview with #5B3DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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