#5D3CC0#5D3CC0

#5D3CC0 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.194 H 288.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#5D3CC0
RGBrgb(93, 60, 192)
HSLhsl(255, 52%, 49%)
HSVhsv(255, 69%, 75%)
CMYKcmyk(51.6%, 68.7%, 0%, 24.7%)
CIE-LABlab(36.68, 46.95, -64.34)
CIE-LCHlch(36.68, 79.65, 306.12°)
OKLaboklab(47.46% 0.0605 -0.1847)
OKLCHoklch(47.46% 0.194 288.1)
XYZxyz(15.6417, 9.3639, 50.8422)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3CC0 #9FC03C
analogous
#3C5DC0 #5D3CC0 #9F3CC0
triadic
#5D3CC0 #C05D3C #3CC05D
tetradic
#5D3CC0 #C03C5D #9FC03C #3CC09F
square
#5D3CC0 #C03C5D #9FC03C #3CC09F
split-complementary
#5D3CC0 #C09F3C #5DC03C
monochromatic
#301F63 #462D91 #5D3CC0 #8369D0 #A998DF

Accessibility & contrast

On white

7.31
#5D3CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5D3CC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3CC0
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3CC0#FFFFFF#000000##FFFFFF
##5D3CC01.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#385E79
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d3cc0;
/* rgb */ color: rgb(93, 60, 192);
/* oklch */ color: oklch(47.5% 0.194 288.1);
Tailwind
colors: {
  custom: {
    50: '#9474d4',
    500: '#5d3cc0',
    950: '#000000',
  },
}
SCSS
$custom: #5d3cc0;
$custom-light: #9474d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3cc0",
  "rgb": {
    "r": 93,
    "g": 60,
    "b": 192
  },
  "hsl": {
    "h": 255,
    "s": 52.381,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47455,
    "c": 0.19437,
    "h": 288.1
  },
  "luminance": 0.09365
}

Semantic roles & 50–950 ramp

primary
#5D3CC0
secondary
#BBCA8D
accent
#DC4CB8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D3CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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