#5D3DB0#5D3DB0

#5D3DB0 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.3% C 0.174 H 290.8°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#5D3DB0
RGBrgb(93, 61, 176)
HSLhsl(257, 49%, 46%)
HSVhsv(257, 65%, 69%)
CMYKcmyk(47.2%, 65.3%, 0%, 31%)
CIE-LABlab(35.59, 41.78, -56.66)
CIE-LCHlch(35.59, 70.40, 306.40°)
OKLaboklab(46.28% 0.0617 -0.1622)
OKLCHoklch(46.28% 0.174 290.8)
XYZxyz(14.0172, 8.7987, 42.0256)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3DB0 #90B03D
analogous
#3D57B0 #5D3DB0 #973DB0
triadic
#5D3DB0 #B05D3D #3DB05D
tetradic
#5D3DB0 #B03D57 #90B03D #3DB097
square
#5D3DB0 #B03D57 #90B03D #3DB097
split-complementary
#5D3DB0 #B0973D #57B03D
monochromatic
#2D1D55 #452D83 #5D3DB0 #7E62C8 #A38FD8

Accessibility & contrast

On white

7.61
#5D3DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5D3DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3DB0
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3DB0#FFFFFF#000000##FFFFFF
##5D3DB01.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#435971
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d3db0;
/* rgb */ color: rgb(93, 61, 176);
/* oklch */ color: oklch(46.3% 0.174 290.8);
Tailwind
colors: {
  custom: {
    50: '#9274c8',
    500: '#5d3db0',
    950: '#000000',
  },
}
SCSS
$custom: #5d3db0;
$custom-light: #9274c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3db0",
  "rgb": {
    "r": 93,
    "g": 61,
    "b": 176
  },
  "hsl": {
    "h": 256.696,
    "s": 48.523,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46276,
    "c": 0.17352,
    "h": 290.8
  },
  "luminance": 0.08799
}

Semantic roles & 50–950 ramp

primary
#5D3DB0
secondary
#B2C386
accent
#D850B2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5D3DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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