#5D3BA2#5D3BA2

#5D3BA2 is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.9% C 0.159 H 294.3°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#5D3BA2
RGBrgb(93, 59, 162)
HSLhsl(260, 47%, 43%)
HSVhsv(260, 64%, 64%)
CMYKcmyk(42.6%, 63.6%, 0%, 36.5%)
CIE-LABlab(34.11, 38.92, -50.69)
CIE-LCHlch(34.11, 63.91, 307.52°)
OKLaboklab(44.87% 0.0653 -0.1446)
OKLCHoklch(44.87% 0.159 294.3)
XYZxyz(12.5980, 8.0634, 35.0681)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3BA2 #80A23B
analogous
#3B4CA2 #5D3BA2 #903BA2
triadic
#5D3BA2 #A25D3B #3BA25D
tetradic
#5D3BA2 #A23B4C #80A23B #3BA290
square
#5D3BA2 #A23B4C #80A23B #3BA290
split-complementary
#5D3BA2 #A2903B #4CA23B
monochromatic
#291A48 #432B75 #5D3BA2 #7B58C2 #9F85D3

Accessibility & contrast

On white

8.04
#5D3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5D3BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3BA2
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3BA2#FFFFFF#000000##FFFFFF
##5D3BA21.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#4B5369
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5d3ba2;
/* rgb */ color: rgb(93, 59, 162);
/* oklch */ color: oklch(44.9% 0.159 294.3);
Tailwind
colors: {
  custom: {
    50: '#9073be',
    500: '#5d3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ba2;
$custom-light: #9073be;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ba2",
  "rgb": {
    "r": 93,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 259.806,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44872,
    "c": 0.15866,
    "h": 294.3
  },
  "luminance": 0.08064
}

Semantic roles & 50–950 ramp

primary
#5D3BA2
secondary
#A7BD7C
accent
#D652AA
background
#F9F7FB
surface
#F1EDF7
border
#CBC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #5D3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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