#5D3DB3#5D3DB3

#5D3DB3 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.5% C 0.177 H 290.3°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5D3DB3
RGBrgb(93, 61, 179)
HSLhsl(256, 49%, 47%)
HSVhsv(256, 66%, 70%)
CMYKcmyk(48%, 65.9%, 0%, 29.8%)
CIE-LABlab(35.83, 42.64, -58.06)
CIE-LCHlch(35.83, 72.04, 306.30°)
OKLaboklab(46.52% 0.0614 -0.1663)
OKLCHoklch(46.52% 0.177 290.3)
XYZxyz(14.3173, 8.9188, 43.6062)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3DB3 #93B33D
analogous
#3D58B3 #5D3DB3 #983DB3
triadic
#5D3DB3 #B35D3D #3DB35D
tetradic
#5D3DB3 #B33D58 #93B33D #3DB398
square
#5D3DB3 #B33D58 #93B33D #3DB398
split-complementary
#5D3DB3 #B3983D #58B33D
monochromatic
#2E1E58 #452D85 #5D3DB3 #7F63CA #A591D9

Accessibility & contrast

On white

7.54
#5D3DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5D3DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3DB3
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3DB3#FFFFFF#000000##FFFFFF
##5D3DB31.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#415A72
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d3db3;
/* rgb */ color: rgb(93, 61, 179);
/* oklch */ color: oklch(46.5% 0.177 290.3);
Tailwind
colors: {
  custom: {
    50: '#9274cb',
    500: '#5d3db3',
    950: '#000000',
  },
}
SCSS
$custom: #5d3db3;
$custom-light: #9274cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3db3",
  "rgb": {
    "r": 93,
    "g": 61,
    "b": 179
  },
  "hsl": {
    "h": 256.271,
    "s": 49.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46518,
    "c": 0.17725,
    "h": 290.3
  },
  "luminance": 0.08919
}

Semantic roles & 50–950 ramp

primary
#5D3DB3
secondary
#B4C587
accent
#D94FB3
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5D3DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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