#5D3CE0#5D3CE0

#5D3CE0 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.232 H 283.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5D3CE0
RGBrgb(93, 60, 224)
HSLhsl(252, 73%, 56%)
HSVhsv(252, 73%, 88%)
CMYKcmyk(58.5%, 73.2%, 0%, 12.2%)
CIE-LABlab(39.48, 56.17, -78.26)
CIE-LCHlch(39.48, 96.33, 305.67°)
OKLaboklab(50.3% 0.054 -0.2255)
OKLCHoklch(50.3% 0.232 283.5)
XYZxyz(19.5805, 10.9394, 71.5863)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3CE0 #BFE03C
analogous
#3C6DE0 #5D3CE0 #AF3CE0
triadic
#5D3CE0 #E05D3C #3CE05D
tetradic
#5D3CE0 #E03C6D #BFE03C #3CE0AF
square
#5D3CE0 #E03C6D #BFE03C #3CE0AF
split-complementary
#5D3CE0 #E0AF3C #6DE03C
monochromatic
#2E168B #3F1FC0 #5D3CE0 #8971E8 #B5A6F1

Accessibility & contrast

On white

6.59
#5D3CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5D3CE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3CE0
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3CE0#FFFFFF#000000##FFFFFF
##5D3CE01.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E5
Deuteranopia (green-blind)
#0057DD
Tritanopia (blue-blind)
#026A8B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5d3ce0;
/* rgb */ color: rgb(93, 60, 224);
/* oklch */ color: oklch(50.3% 0.232 283.5);
Tailwind
colors: {
  custom: {
    50: '#9975eb',
    500: '#5d3ce0',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ce0;
$custom-light: #9975eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ce0",
  "rgb": {
    "r": 93,
    "g": 60,
    "b": 224
  },
  "hsl": {
    "h": 252.073,
    "s": 72.566,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50304,
    "c": 0.23188,
    "h": 283.5
  },
  "luminance": 0.10941
}

Semantic roles & 50–950 ramp

primary
#5D3CE0
secondary
#D0DE9A
accent
#EF39CA
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D3CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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