#5D3FDF#5D3FDF

#5D3FDF is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.6% C 0.228 H 283.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5D3FDF
RGBrgb(93, 63, 223)
HSLhsl(251, 71%, 56%)
HSVhsv(251, 72%, 87%)
CMYKcmyk(58.3%, 71.7%, 0%, 12.5%)
CIE-LABlab(39.93, 54.36, -76.94)
CIE-LCHlch(39.93, 94.21, 305.24°)
OKLaboklab(50.6% 0.0521 -0.2217)
OKLCHoklch(50.6% 0.228 283.2)
XYZxyz(19.6069, 11.2086, 70.9280)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3FDF #C1DF3F
analogous
#3F71DF #5D3FDF #AD3FDF
triadic
#5D3FDF #DF5D3F #3FDF5D
tetradic
#5D3FDF #DF3F71 #C1DF3F #3FDFAD
square
#5D3FDF #DF3F71 #C1DF3F #3FDFAD
split-complementary
#5D3FDF #DFAD3F #71DF3F
monochromatic
#2D178C #3E20C1 #5D3FDF #8973E8 #B6A8F0

Accessibility & contrast

On white

6.48
#5D3FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5D3FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3FDF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3FDF#FFFFFF#000000##FFFFFF
##5D3FDF1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E4
Deuteranopia (green-blind)
#0059DC
Tritanopia (blue-blind)
#066B8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d3fdf;
/* rgb */ color: rgb(93, 63, 223);
/* oklch */ color: oklch(50.6% 0.228 283.2);
Tailwind
colors: {
  custom: {
    50: '#9877ea',
    500: '#5d3fdf',
    950: '#000000',
  },
}
SCSS
$custom: #5d3fdf;
$custom-light: #9877ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3fdf",
  "rgb": {
    "r": 93,
    "g": 63,
    "b": 223
  },
  "hsl": {
    "h": 251.25,
    "s": 71.429,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50595,
    "c": 0.22772,
    "h": 283.2
  },
  "luminance": 0.1121
}

Semantic roles & 50–950 ramp

primary
#5D3FDF
secondary
#D2DE9C
accent
#EE3ACC
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D3FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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