#5D3FDD#5D3FDD

#5D3FDD is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.4% C 0.225 H 283.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5D3FDD
RGBrgb(93, 63, 221)
HSLhsl(251, 70%, 56%)
HSVhsv(251, 71%, 87%)
CMYKcmyk(57.9%, 71.5%, 0%, 13.3%)
CIE-LABlab(39.75, 53.78, -76.09)
CIE-LCHlch(39.75, 93.18, 305.25°)
OKLaboklab(50.41% 0.0525 -0.2192)
OKLCHoklch(50.41% 0.225 283.5)
XYZxyz(19.3388, 11.1014, 69.5163)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3FDD #BFDD3F
analogous
#3F70DD #5D3FDD #AC3FDD
triadic
#5D3FDD #DD5D3F #3FDD5D
tetradic
#5D3FDD #DD3F70 #BFDD3F #3FDDAC
square
#5D3FDD #DD3F70 #BFDD3F #3FDDAC
split-complementary
#5D3FDD #DDAC3F #70DD3F
monochromatic
#2E1889 #3F22BD #5D3FDD #8973E6 #B5A7EF

Accessibility & contrast

On white

6.52
#5D3FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5D3FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3FDD
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3FDD#FFFFFF#000000##FFFFFF
##5D3FDD1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E2
Deuteranopia (green-blind)
#0058DA
Tritanopia (blue-blind)
#0E6A8A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d3fdd;
/* rgb */ color: rgb(93, 63, 221);
/* oklch */ color: oklch(50.4% 0.225 283.5);
Tailwind
colors: {
  custom: {
    50: '#9877e9',
    500: '#5d3fdd',
    950: '#000000',
  },
}
SCSS
$custom: #5d3fdd;
$custom-light: #9877e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3fdd",
  "rgb": {
    "r": 93,
    "g": 63,
    "b": 221
  },
  "hsl": {
    "h": 251.392,
    "s": 69.912,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50414,
    "c": 0.2254,
    "h": 283.5
  },
  "luminance": 0.11103
}

Semantic roles & 50–950 ramp

primary
#5D3FDD
secondary
#D0DD9B
accent
#ED3BCB
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D3FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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