#5D3EBF#5D3EBF

#5D3EBF is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.7% C 0.191 H 287.9°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5D3EBF
RGBrgb(93, 62, 191)
HSLhsl(254, 51%, 50%)
HSVhsv(254, 68%, 75%)
CMYKcmyk(51.3%, 67.5%, 0%, 25.1%)
CIE-LABlab(36.99, 45.57, -63.24)
CIE-LCHlch(36.99, 77.95, 305.77°)
OKLaboklab(47.65% 0.0588 -0.1815)
OKLCHoklch(47.65% 0.191 287.9)
XYZxyz(15.6380, 9.5333, 50.2962)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3EBF #A0BF3E
analogous
#3E5FBF #5D3EBF #9E3EBF
triadic
#5D3EBF #BF5D3E #3EBF5D
tetradic
#5D3EBF #BF3E5F #A0BF3E #3EBF9E
square
#5D3EBF #BF3E5F #A0BF3E #3EBF9E
split-complementary
#5D3EBF #BF9E3E #5FBF3E
monochromatic
#302063 #472F91 #5D3EBF #836BCF #AA99DE

Accessibility & contrast

On white

7.22
#5D3EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5D3EBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3EBF
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3EBF#FFFFFF#000000##FFFFFF
##5D3EBF1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#395E79
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d3ebf;
/* rgb */ color: rgb(93, 62, 191);
/* oklch */ color: oklch(47.7% 0.191 287.9);
Tailwind
colors: {
  custom: {
    50: '#9475d3',
    500: '#5d3ebf',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ebf;
$custom-light: #9475d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ebf",
  "rgb": {
    "r": 93,
    "g": 62,
    "b": 191
  },
  "hsl": {
    "h": 254.419,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47655,
    "c": 0.19077,
    "h": 287.9
  },
  "luminance": 0.09534
}

Semantic roles & 50–950 ramp

primary
#5D3EBF
secondary
#BCCA8F
accent
#DA4DB9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D3EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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