#5D3BC4#5D3BC4

#5D3BC4 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.7% C 0.200 H 287.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5D3BC4
RGBrgb(93, 59, 196)
HSLhsl(255, 54%, 50%)
HSVhsv(255, 70%, 77%)
CMYKcmyk(52.6%, 69.9%, 0%, 23.1%)
CIE-LABlab(36.82, 48.64, -66.45)
CIE-LCHlch(36.82, 82.35, 306.20°)
OKLaboklab(47.66% 0.0607 -0.1909)
OKLCHoklch(47.66% 0.2 287.6)
XYZxyz(16.0390, 9.4398, 53.1908)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3BC4 #A2C43B
analogous
#3B5DC4 #5D3BC4 #A23BC4
triadic
#5D3BC4 #C45D3B #3BC45D
tetradic
#5D3BC4 #C43B5D #A2C43B #3BC4A2
square
#5D3BC4 #C43B5D #A2C43B #3BC4A2
split-complementary
#5D3BC4 #C4A23B #5DC43B
monochromatic
#301F66 #472D95 #5D3BC4 #846AD2 #AB99E0

Accessibility & contrast

On white

7.27
#5D3BC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5D3BC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3BC4
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3BC4#FFFFFF#000000##FFFFFF
##5D3BC41.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.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: #5d3bc4;
/* rgb */ color: rgb(93, 59, 196);
/* oklch */ color: oklch(47.7% 0.200 287.6);
Tailwind
colors: {
  custom: {
    50: '#9574d7',
    500: '#5d3bc4',
    950: '#000000',
  },
}
SCSS
$custom: #5d3bc4;
$custom-light: #9574d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3bc4",
  "rgb": {
    "r": 93,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 254.891,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.4766,
    "c": 0.20032,
    "h": 287.6
  },
  "luminance": 0.09441
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D3BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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