#5D3FBE#5D3FBE

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

Color values

HEX#5D3FBE
RGBrgb(93, 63, 190)
HSLhsl(254, 50%, 50%)
HSVhsv(254, 67%, 75%)
CMYKcmyk(51.1%, 66.8%, 0%, 25.5%)
CIE-LABlab(37.11, 44.72, -62.45)
CIE-LCHlch(37.11, 76.82, 305.61°)
OKLaboklab(47.72% 0.0579 -0.1792)
OKLCHoklch(47.72% 0.188 287.9)
XYZxyz(15.5833, 9.5991, 49.7369)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3FBE #A0BE3F
analogous
#3F61BE #5D3FBE #9D3FBE
triadic
#5D3FBE #BE5D3F #3FBE5D
tetradic
#5D3FBE #BE3F61 #A0BE3F #3FBE9D
square
#5D3FBE #BE3F61 #A0BE3F #3FBE9D
split-complementary
#5D3FBE #BE9D3F #61BE3F
monochromatic
#302162 #473090 #5D3FBE #836CCE #AA9ADD

Accessibility & contrast

On white

7.19
#5D3FBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5D3FBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3FBE
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3FBE#FFFFFF#000000##FFFFFF
##5D3FBE1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#395F79
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d3fbe;
/* rgb */ color: rgb(93, 63, 190);
/* oklch */ color: oklch(47.7% 0.188 287.9);
Tailwind
colors: {
  custom: {
    50: '#9376d3',
    500: '#5d3fbe',
    950: '#000000',
  },
}
SCSS
$custom: #5d3fbe;
$custom-light: #9376d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3fbe",
  "rgb": {
    "r": 93,
    "g": 63,
    "b": 190
  },
  "hsl": {
    "h": 254.173,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47718,
    "c": 0.18833,
    "h": 287.9
  },
  "luminance": 0.096
}

Semantic roles & 50–950 ramp

primary
#5D3FBE
secondary
#BCC98F
accent
#DA4EB9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5D3FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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