#5D3EBD#5D3EBD

#5D3EBD is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.188 H 288.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5D3EBD
RGBrgb(93, 62, 189)
HSLhsl(255, 51%, 49%)
HSVhsv(255, 67%, 74%)
CMYKcmyk(50.8%, 67.2%, 0%, 25.9%)
CIE-LABlab(36.83, 44.99, -62.33)
CIE-LCHlch(36.83, 76.87, 305.82°)
OKLaboklab(47.49% 0.059 -0.1788)
OKLCHoklch(47.49% 0.188 288.3)
XYZxyz(15.4195, 9.4458, 49.1450)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3EBD #9EBD3E
analogous
#3E5EBD #5D3EBD #9D3EBD
triadic
#5D3EBD #BD5D3E #3EBD5D
tetradic
#5D3EBD #BD3E5E #9EBD3E #3EBD9D
square
#5D3EBD #BD3E5E #9EBD3E #3EBD9D
split-complementary
#5D3EBD #BD9D3E #5EBD3E
monochromatic
#302061 #462F8F #5D3EBD #826ACE #A998DD

Accessibility & contrast

On white

7.27
#5D3EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5D3EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3EBD
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3EBD#FFFFFF#000000##FFFFFF
##5D3EBD1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#3A5E78
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d3ebd;
/* rgb */ color: rgb(93, 62, 189);
/* oklch */ color: oklch(47.5% 0.188 288.3);
Tailwind
colors: {
  custom: {
    50: '#9375d2',
    500: '#5d3ebd',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ebd;
$custom-light: #9375d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ebd",
  "rgb": {
    "r": 93,
    "g": 62,
    "b": 189
  },
  "hsl": {
    "h": 254.646,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47488,
    "c": 0.18832,
    "h": 288.3
  },
  "luminance": 0.09447
}

Semantic roles & 50–950 ramp

primary
#5D3EBD
secondary
#BBC98E
accent
#DA4EB8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D3EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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