#5D3FC0#5D3FC0

#5D3FC0 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.9% C 0.191 H 287.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#5D3FC0
RGBrgb(93, 63, 192)
HSLhsl(254, 51%, 50%)
HSVhsv(254, 67%, 75%)
CMYKcmyk(51.6%, 67.2%, 0%, 24.7%)
CIE-LABlab(37.28, 45.31, -63.36)
CIE-LCHlch(37.28, 77.89, 305.57°)
OKLaboklab(47.89% 0.0577 -0.1819)
OKLCHoklch(47.89% 0.191 287.6)
XYZxyz(15.8033, 9.6872, 50.8961)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3FC0 #A2C03F
analogous
#3F62C0 #5D3FC0 #9D3FC0
triadic
#5D3FC0 #C05D3F #3FC05D
tetradic
#5D3FC0 #C03F62 #A2C03F #3FC09D
square
#5D3FC0 #C03F62 #A2C03F #3FC09D
split-complementary
#5D3FC0 #C09D3F #62C03F
monochromatic
#302164 #473092 #5D3FC0 #846DCF #AB9BDE

Accessibility & contrast

On white

7.15
#5D3FC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5D3FC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3FC0
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3FC0#FFFFFF#000000##FFFFFF
##5D3FC01.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#385F7A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5d3fc0;
/* rgb */ color: rgb(93, 63, 192);
/* oklch */ color: oklch(47.9% 0.191 287.6);
Tailwind
colors: {
  custom: {
    50: '#9476d4',
    500: '#5d3fc0',
    950: '#000000',
  },
}
SCSS
$custom: #5d3fc0;
$custom-light: #9476d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3fc0",
  "rgb": {
    "r": 93,
    "g": 63,
    "b": 192
  },
  "hsl": {
    "h": 253.953,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.47885,
    "c": 0.19079,
    "h": 287.6
  },
  "luminance": 0.09688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D3FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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