#5D3DB7#5D3DB7

#5D3DB7 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.8% C 0.182 H 289.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#5D3DB7
RGBrgb(93, 61, 183)
HSLhsl(256, 50%, 48%)
HSVhsv(256, 67%, 72%)
CMYKcmyk(49.2%, 66.7%, 0%, 28.2%)
CIE-LABlab(36.14, 43.80, -59.92)
CIE-LCHlch(36.14, 74.22, 306.17°)
OKLaboklab(46.85% 0.0609 -0.1717)
OKLCHoklch(46.85% 0.182 289.5)
XYZxyz(14.7277, 9.0829, 45.7677)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3DB7 #97B73D
analogous
#3D5AB7 #5D3DB7 #9A3DB7
triadic
#5D3DB7 #B75D3D #3DB75D
tetradic
#5D3DB7 #B73D5A #97B73D #3DB79A
square
#5D3DB7 #B73D5A #97B73D #3DB79A
split-complementary
#5D3DB7 #B79A3D #5AB73D
monochromatic
#2E1E5B #462E89 #5D3DB7 #8065CC #A693DB

Accessibility & contrast

On white

7.46
#5D3DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5D3DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3DB7
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3DB7#FFFFFF#000000##FFFFFF
##5D3DB71.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#3F5B75
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d3db7;
/* rgb */ color: rgb(93, 61, 183);
/* oklch */ color: oklch(46.8% 0.182 289.5);
Tailwind
colors: {
  custom: {
    50: '#9375cd',
    500: '#5d3db7',
    950: '#000000',
  },
}
SCSS
$custom: #5d3db7;
$custom-light: #9375cd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3db7",
  "rgb": {
    "r": 93,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 255.738,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46845,
    "c": 0.1822,
    "h": 289.5
  },
  "luminance": 0.09084
}

Semantic roles & 50–950 ramp

primary
#5D3DB7
secondary
#B6C689
accent
#DA4EB5
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5D3DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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