#5D3BBB#5D3BBB

#5D3BBB is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.190 H 289.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#5D3BBB
RGBrgb(93, 59, 187)
HSLhsl(256, 52%, 48%)
HSVhsv(256, 68%, 73%)
CMYKcmyk(50.3%, 68.4%, 0%, 26.7%)
CIE-LABlab(36.07, 46.05, -62.40)
CIE-LCHlch(36.07, 77.55, 306.43°)
OKLaboklab(46.89% 0.0622 -0.179)
OKLCHoklch(46.89% 0.19 289.2)
XYZxyz(15.0452, 9.0423, 47.9567)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3BBB #99BB3B
analogous
#3B59BB #5D3BBB #9D3BBB
triadic
#5D3BBB #BB5D3B #3BBB5D
tetradic
#5D3BBB #BB3B59 #99BB3B #3BBB9D
square
#5D3BBB #BB3B59 #99BB3B #3BBB9D
split-complementary
#5D3BBB #BB9D3B #59BB3B
monochromatic
#2F1E5E #462C8C #5D3BBB #8165CE #A793DD

Accessibility & contrast

On white

7.48
#5D3BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5D3BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3BBB
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3BBB#FFFFFF#000000##FFFFFF
##5D3BBB1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#3C5B76
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d3bbb;
/* rgb */ color: rgb(93, 59, 187);
/* oklch */ color: oklch(46.9% 0.190 289.2);
Tailwind
colors: {
  custom: {
    50: '#9373d0',
    500: '#5d3bbb',
    950: '#000000',
  },
}
SCSS
$custom: #5d3bbb;
$custom-light: #9373d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3bbb",
  "rgb": {
    "r": 93,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 255.938,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4689,
    "c": 0.18953,
    "h": 289.2
  },
  "luminance": 0.09043
}

Semantic roles & 50–950 ramp

primary
#5D3BBB
secondary
#B8C88A
accent
#DB4CB5
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5D3BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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