#5D3BB2#5D3BB2

#5D3BB2 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.1% C 0.179 H 290.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#5D3BB2
RGBrgb(93, 59, 178)
HSLhsl(257, 50%, 46%)
HSVhsv(257, 67%, 70%)
CMYKcmyk(47.8%, 66.9%, 0%, 30.2%)
CIE-LABlab(35.34, 43.47, -58.27)
CIE-LCHlch(35.34, 72.70, 306.73°)
OKLaboklab(46.14% 0.0636 -0.1669)
OKLCHoklch(46.14% 0.179 290.8)
XYZxyz(14.1118, 8.6689, 43.0406)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3BB2 #90B23B
analogous
#3B55B2 #5D3BB2 #993BB2
triadic
#5D3BB2 #B25D3B #3BB25D
tetradic
#5D3BB2 #B23B55 #90B23B #3BB299
square
#5D3BB2 #B23B55 #90B23B #3BB299
split-complementary
#5D3BB2 #B2993B #55B23B
monochromatic
#2D1D56 #452C84 #5D3BB2 #7E60CA #A38EDA

Accessibility & contrast

On white

7.68
#5D3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5D3BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3BB2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3BB2#FFFFFF#000000##FFFFFF
##5D3BB21.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#425871
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d3bb2;
/* rgb */ color: rgb(93, 59, 178);
/* oklch */ color: oklch(46.1% 0.179 290.8);
Tailwind
colors: {
  custom: {
    50: '#9273ca',
    500: '#5d3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #5d3bb2;
$custom-light: #9273ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3bb2",
  "rgb": {
    "r": 93,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 257.143,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46141,
    "c": 0.17857,
    "h": 290.8
  },
  "luminance": 0.08669
}

Semantic roles & 50–950 ramp

primary
#5D3BB2
secondary
#B2C485
accent
#DA4EB2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5D3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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