#5D3EBE#5D3EBE

#5D3EBE is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.6% C 0.190 H 288.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#5D3EBE
RGBrgb(93, 62, 190)
HSLhsl(255, 51%, 49%)
HSVhsv(255, 67%, 75%)
CMYKcmyk(51.1%, 67.4%, 0%, 25.5%)
CIE-LABlab(36.91, 45.28, -62.79)
CIE-LCHlch(36.91, 77.41, 305.80°)
OKLaboklab(47.57% 0.0589 -0.1802)
OKLCHoklch(47.57% 0.19 288.1)
XYZxyz(15.5284, 9.4894, 49.7186)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3EBE #9FBE3E
analogous
#3E5FBE #5D3EBE #9D3EBE
triadic
#5D3EBE #BE5D3E #3EBE5D
tetradic
#5D3EBE #BE3E5F #9FBE3E #3EBE9D
square
#5D3EBE #BE3E5F #9FBE3E #3EBE9D
split-complementary
#5D3EBE #BE9D3E #5FBE3E
monochromatic
#302062 #462F90 #5D3EBE #836BCF #A999DE

Accessibility & contrast

On white

7.25
#5D3EBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5D3EBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3EBE
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3EBE#FFFFFF#000000##FFFFFF
##5D3EBE1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#3A5E79
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d3ebe;
/* rgb */ color: rgb(93, 62, 190);
/* oklch */ color: oklch(47.6% 0.190 288.1);
Tailwind
colors: {
  custom: {
    50: '#9475d3',
    500: '#5d3ebe',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ebe;
$custom-light: #9475d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ebe",
  "rgb": {
    "r": 93,
    "g": 62,
    "b": 190
  },
  "hsl": {
    "h": 254.531,
    "s": 50.794,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47572,
    "c": 0.18955,
    "h": 288.1
  },
  "luminance": 0.0949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D3EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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