#5D3AC0#5D3AC0

#5D3AC0 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.2% C 0.197 H 288.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#5D3AC0
RGBrgb(93, 58, 192)
HSLhsl(256, 54%, 49%)
HSVhsv(256, 70%, 75%)
CMYKcmyk(51.6%, 69.8%, 0%, 24.7%)
CIE-LABlab(36.29, 48.02, -64.98)
CIE-LCHlch(36.29, 80.80, 306.47°)
OKLaboklab(47.18% 0.0623 -0.1866)
OKLCHoklch(47.18% 0.197 288.5)
XYZxyz(15.5389, 9.1583, 50.8079)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3AC0 #9DC03A
analogous
#3A5AC0 #5D3AC0 #A03AC0
triadic
#5D3AC0 #C05D3A #3AC05D
tetradic
#5D3AC0 #C03A5A #9DC03A #3AC0A0
square
#5D3AC0 #C03A5A #9DC03A #3AC0A0
split-complementary
#5D3AC0 #C0A03A #5AC03A
monochromatic
#2F1E62 #462C91 #5D3AC0 #8266D1 #A995DF

Accessibility & contrast

On white

7.42
#5D3AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5D3AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3AC0
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3AC0#FFFFFF#000000##FFFFFF
##5D3AC01.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#0052BD
Tritanopia (blue-blind)
#385D79
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d3ac0;
/* rgb */ color: rgb(93, 58, 192);
/* oklch */ color: oklch(47.2% 0.197 288.5);
Tailwind
colors: {
  custom: {
    50: '#9473d4',
    500: '#5d3ac0',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ac0;
$custom-light: #9473d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ac0",
  "rgb": {
    "r": 93,
    "g": 58,
    "b": 192
  },
  "hsl": {
    "h": 255.672,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47177,
    "c": 0.19671,
    "h": 288.5
  },
  "luminance": 0.09159
}

Semantic roles & 50–950 ramp

primary
#5D3AC0
secondary
#BACA8B
accent
#DD4BB7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D3AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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