#5D3BB0#5D3BB0

#5D3BB0 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.0% C 0.176 H 291.2°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#5D3BB0
RGBrgb(93, 59, 176)
HSLhsl(257, 50%, 46%)
HSVhsv(257, 66%, 69%)
CMYKcmyk(47.2%, 66.5%, 0%, 31%)
CIE-LABlab(35.18, 42.90, -57.33)
CIE-LCHlch(35.18, 71.61, 306.80°)
OKLaboklab(45.98% 0.0638 -0.1641)
OKLCHoklch(45.98% 0.176 291.2)
XYZxyz(13.9124, 8.5892, 41.9907)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3BB0 #8EB03B
analogous
#3B53B0 #5D3BB0 #973BB0
triadic
#5D3BB0 #B05D3B #3BB05D
tetradic
#5D3BB0 #B03B53 #8EB03B #3BB097
square
#5D3BB0 #B03B53 #8EB03B #3BB097
split-complementary
#5D3BB0 #B0973B #53B03B
monochromatic
#2D1C54 #452C82 #5D3BB0 #7E5FC9 #A38DD9

Accessibility & contrast

On white

7.73
#5D3BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5D3BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3BB0
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3BB0#FFFFFF#000000##FFFFFF
##5D3BB01.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B4
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#435770
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d3bb0;
/* rgb */ color: rgb(93, 59, 176);
/* oklch */ color: oklch(46.0% 0.176 291.2);
Tailwind
colors: {
  custom: {
    50: '#9273c8',
    500: '#5d3bb0',
    950: '#000000',
  },
}
SCSS
$custom: #5d3bb0;
$custom-light: #9273c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3bb0",
  "rgb": {
    "r": 93,
    "g": 59,
    "b": 176
  },
  "hsl": {
    "h": 257.436,
    "s": 49.787,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45978,
    "c": 0.17612,
    "h": 291.2
  },
  "luminance": 0.0859
}

Semantic roles & 50–950 ramp

primary
#5D3BB0
secondary
#B1C383
accent
#D94EB1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5D3BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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