#5D3EBB#5D3EBB

#5D3EBB is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.3% C 0.186 H 288.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#5D3EBB
RGBrgb(93, 62, 187)
HSLhsl(255, 50%, 49%)
HSVhsv(255, 67%, 73%)
CMYKcmyk(50.3%, 66.8%, 0%, 26.7%)
CIE-LABlab(36.67, 44.40, -61.42)
CIE-LCHlch(36.67, 75.79, 305.87°)
OKLaboklab(47.32% 0.0593 -0.1761)
OKLCHoklch(47.32% 0.186 288.6)
XYZxyz(15.2039, 9.3596, 48.0095)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3EBB #9CBB3E
analogous
#3E5EBB #5D3EBB #9C3EBB
triadic
#5D3EBB #BB5D3E #3EBB5D
tetradic
#5D3EBB #BB3E5E #9CBB3E #3EBB9C
square
#5D3EBB #BB3E5E #9CBB3E #3EBB9C
split-complementary
#5D3EBB #BB9C3E #5EBB3E
monochromatic
#2F205F #462F8D #5D3EBB #8269CD #A897DC

Accessibility & contrast

On white

7.31
#5D3EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5D3EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3EBB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3EBB#FFFFFF#000000##FFFFFF
##5D3EBB1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d3ebb;
/* rgb */ color: rgb(93, 62, 187);
/* oklch */ color: oklch(47.3% 0.186 288.6);
Tailwind
colors: {
  custom: {
    50: '#9375d0',
    500: '#5d3ebb',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ebb;
$custom-light: #9375d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ebb",
  "rgb": {
    "r": 93,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 254.88,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47322,
    "c": 0.18587,
    "h": 288.6
  },
  "luminance": 0.0936
}

Semantic roles & 50–950 ramp

primary
#5D3EBB
secondary
#B9C88D
accent
#DA4EB7
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5D3EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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