#5D3ECB#5D3ECB

#5D3ECB is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.7% C 0.205 H 286.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5D3ECB
RGBrgb(93, 62, 203)
HSLhsl(253, 58%, 52%)
HSVhsv(253, 69%, 80%)
CMYKcmyk(54.2%, 69.5%, 0%, 20.4%)
CIE-LABlab(37.99, 49.06, -68.61)
CIE-LCHlch(37.99, 84.34, 305.57°)
OKLaboklab(48.68% 0.0568 -0.1972)
OKLCHoklch(48.68% 0.205 286.1)
XYZxyz(17.0131, 10.0833, 57.5381)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3ECB #ACCB3E
analogous
#3E66CB #5D3ECB #A33ECB
triadic
#5D3ECB #CB5D3E #3ECB5D
tetradic
#5D3ECB #CB3E66 #ACCB3E #3ECBA3
square
#5D3ECB #CB3E66 #ACCB3E #3ECBA3
split-complementary
#5D3ECB #CBA33E #66CB3E
monochromatic
#301E70 #452BA1 #5D3ECB #856ED8 #AE9EE5

Accessibility & contrast

On white

6.96
#5D3ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5D3ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3ECB
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3ECB#FFFFFF#000000##FFFFFF
##5D3ECB1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#2E6380
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5d3ecb;
/* rgb */ color: rgb(93, 62, 203);
/* oklch */ color: oklch(48.7% 0.205 286.1);
Tailwind
colors: {
  custom: {
    50: '#9576dc',
    500: '#5d3ecb',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ecb;
$custom-light: #9576dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ecb",
  "rgb": {
    "r": 93,
    "g": 62,
    "b": 203
  },
  "hsl": {
    "h": 253.191,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48681,
    "c": 0.20526,
    "h": 286.1
  },
  "luminance": 0.10084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D3ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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