#5D3FCB#5D3FCB

#5D3FCB is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 48.8% C 0.204 H 285.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#5D3FCB
RGBrgb(93, 63, 203)
HSLhsl(253, 57%, 52%)
HSVhsv(253, 69%, 80%)
CMYKcmyk(54.2%, 69%, 0%, 20.4%)
CIE-LABlab(38.19, 48.53, -68.29)
CIE-LCHlch(38.19, 83.77, 305.40°)
OKLaboklab(48.82% 0.0559 -0.1963)
OKLCHoklch(48.82% 0.204 285.9)
XYZxyz(17.0680, 10.1930, 57.5564)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3FCB #ADCB3F
analogous
#3F67CB #5D3FCB #A33FCB
triadic
#5D3FCB #CB5D3F #3FCB5D
tetradic
#5D3FCB #CB3F67 #ADCB3F #3FCBA3
square
#5D3FCB #CB3F67 #ADCB3F #3FCBA3
split-complementary
#5D3FCB #CBA33F #67CB3F
monochromatic
#301F71 #452CA1 #5D3FCB #866FD8 #AE9FE5

Accessibility & contrast

On white

6.91
#5D3FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5D3FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3FCB
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3FCB#FFFFFF#000000##FFFFFF
##5D3FCB1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#2E6380
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5d3fcb;
/* rgb */ color: rgb(93, 63, 203);
/* oklch */ color: oklch(48.8% 0.204 285.9);
Tailwind
colors: {
  custom: {
    50: '#9576dc',
    500: '#5d3fcb',
    950: '#000000',
  },
}
SCSS
$custom: #5d3fcb;
$custom-light: #9576dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3fcb",
  "rgb": {
    "r": 93,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 252.857,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48821,
    "c": 0.20413,
    "h": 285.9
  },
  "luminance": 0.10194
}

Semantic roles & 50–950 ramp

primary
#5D3FCB
secondary
#C4D194
accent
#E147C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5D3FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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