#5D3EBC#5D3EBC

#5D3EBC is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.4% C 0.187 H 288.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5D3EBC
RGBrgb(93, 62, 188)
HSLhsl(255, 50%, 49%)
HSVhsv(255, 67%, 74%)
CMYKcmyk(50.5%, 67%, 0%, 26.3%)
CIE-LABlab(36.75, 44.70, -61.88)
CIE-LCHlch(36.75, 76.33, 305.84°)
OKLaboklab(47.41% 0.0592 -0.1775)
OKLCHoklch(47.41% 0.187 288.4)
XYZxyz(15.3113, 9.4026, 48.5753)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3EBC #9DBC3E
analogous
#3E5EBC #5D3EBC #9C3EBC
triadic
#5D3EBC #BC5D3E #3EBC5D
tetradic
#5D3EBC #BC3E5E #9DBC3E #3EBC9C
square
#5D3EBC #BC3E5E #9DBC3E #3EBC9C
split-complementary
#5D3EBC #BC9C3E #5EBC3E
monochromatic
#2F2060 #462F8E #5D3EBC #826ACE #A998DD

Accessibility & contrast

On white

7.29
#5D3EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5D3EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3EBC
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3EBC#FFFFFF#000000##FFFFFF
##5D3EBC1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#3B5D78
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d3ebc;
/* rgb */ color: rgb(93, 62, 188);
/* oklch */ color: oklch(47.4% 0.187 288.4);
Tailwind
colors: {
  custom: {
    50: '#9375d1',
    500: '#5d3ebc',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ebc;
$custom-light: #9375d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ebc",
  "rgb": {
    "r": 93,
    "g": 62,
    "b": 188
  },
  "hsl": {
    "h": 254.762,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47405,
    "c": 0.1871,
    "h": 288.4
  },
  "luminance": 0.09403
}

Semantic roles & 50–950 ramp

primary
#5D3EBC
secondary
#BAC98D
accent
#DA4EB7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D3EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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