#5D3FCF#5D3FCF

#5D3FCF is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.2% C 0.209 H 285.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5D3FCF
RGBrgb(93, 63, 207)
HSLhsl(253, 60%, 53%)
HSVhsv(253, 70%, 81%)
CMYKcmyk(55.1%, 69.6%, 0%, 18.8%)
CIE-LABlab(38.53, 49.69, -70.05)
CIE-LCHlch(38.53, 85.88, 305.35°)
OKLaboklab(49.17% 0.0552 -0.2015)
OKLCHoklch(49.17% 0.209 285.3)
XYZxyz(17.5508, 10.3862, 60.0993)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3FCF #B1CF3F
analogous
#3F69CF #5D3FCF #A53FCF
triadic
#5D3FCF #CF5D3F #3FCF5D
tetradic
#5D3FCF #CF3F69 #B1CF3F #3FCFA5
square
#5D3FCF #CF3F69 #B1CF3F #3FCFA5
split-complementary
#5D3FCF #CFA53F #69CF3F
monochromatic
#301E76 #442AA7 #5D3FCF #8670DB #B0A1E7

Accessibility & contrast

On white

6.82
#5D3FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5D3FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3FCF
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3FCF#FFFFFF#000000##FFFFFF
##5D3FCF1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD3
Deuteranopia (green-blind)
#0056CC
Tritanopia (blue-blind)
#296582
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d3fcf;
/* rgb */ color: rgb(93, 63, 207);
/* oklch */ color: oklch(49.2% 0.209 285.3);
Tailwind
colors: {
  custom: {
    50: '#9677df',
    500: '#5d3fcf',
    950: '#000000',
  },
}
SCSS
$custom: #5d3fcf;
$custom-light: #9677df;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3fcf",
  "rgb": {
    "r": 93,
    "g": 63,
    "b": 207
  },
  "hsl": {
    "h": 252.5,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49168,
    "c": 0.20891,
    "h": 285.3
  },
  "luminance": 0.10387
}

Semantic roles & 50–950 ramp

primary
#5D3FCF
secondary
#C7D496
accent
#E345C2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5D3FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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