#5D3CC4#5D3CC4

#5D3CC4 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.8% C 0.199 H 287.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5D3CC4
RGBrgb(93, 60, 196)
HSLhsl(255, 54%, 50%)
HSVhsv(255, 69%, 77%)
CMYKcmyk(52.6%, 69.4%, 0%, 23.1%)
CIE-LABlab(37.01, 48.11, -66.13)
CIE-LCHlch(37.01, 81.78, 306.03°)
OKLaboklab(47.8% 0.0598 -0.19)
OKLCHoklch(47.8% 0.199 287.5)
XYZxyz(16.0909, 9.5436, 53.2081)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3CC4 #A3C43C
analogous
#3C5FC4 #5D3CC4 #A13CC4
triadic
#5D3CC4 #C45D3C #3CC45D
tetradic
#5D3CC4 #C43C5F #A3C43C #3CC4A1
square
#5D3CC4 #C43C5F #A3C43C #3CC4A1
split-complementary
#5D3CC4 #C4A13C #5FC43C
monochromatic
#301F67 #472D96 #5D3CC4 #846BD2 #AB9AE0

Accessibility & contrast

On white

7.22
#5D3CC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5D3CC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3CC4
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3CC4#FFFFFF#000000##FFFFFF
##5D3CC41.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#355F7B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d3cc4;
/* rgb */ color: rgb(93, 60, 196);
/* oklch */ color: oklch(47.8% 0.199 287.5);
Tailwind
colors: {
  custom: {
    50: '#9574d7',
    500: '#5d3cc4',
    950: '#000000',
  },
}
SCSS
$custom: #5d3cc4;
$custom-light: #9574d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3cc4",
  "rgb": {
    "r": 93,
    "g": 60,
    "b": 196
  },
  "hsl": {
    "h": 254.559,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47797,
    "c": 0.19918,
    "h": 287.5
  },
  "luminance": 0.09544
}

Semantic roles & 50–950 ramp

primary
#5D3CC4
secondary
#BECC90
accent
#DD4BB9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D3CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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