#5D3CB3#5D3CB3

#5D3CB3 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.4% C 0.179 H 290.5°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#5D3CB3
RGBrgb(93, 60, 179)
HSLhsl(257, 50%, 47%)
HSVhsv(257, 66%, 70%)
CMYKcmyk(48%, 66.5%, 0%, 29.8%)
CIE-LABlab(35.62, 43.20, -58.40)
CIE-LCHlch(35.62, 72.64, 306.49°)
OKLaboklab(46.37% 0.0624 -0.1673)
OKLCHoklch(46.37% 0.179 290.5)
XYZxyz(14.2644, 8.8130, 43.5886)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3CB3 #92B33C
analogous
#3C56B3 #5D3CB3 #993CB3
triadic
#5D3CB3 #B35D3C #3CB35D
tetradic
#5D3CB3 #B33C56 #92B33C #3CB399
square
#5D3CB3 #B33C56 #92B33C #3CB399
split-complementary
#5D3CB3 #B3993C #56B33C
monochromatic
#2D1D57 #452D85 #5D3CB3 #7F62CA #A490DA

Accessibility & contrast

On white

7.60
#5D3CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5D3CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3CB3
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3CB3#FFFFFF#000000##FFFFFF
##5D3CB31.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#415972
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d3cb3;
/* rgb */ color: rgb(93, 60, 179);
/* oklch */ color: oklch(46.4% 0.179 290.5);
Tailwind
colors: {
  custom: {
    50: '#9274cb',
    500: '#5d3cb3',
    950: '#000000',
  },
}
SCSS
$custom: #5d3cb3;
$custom-light: #9274cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3cb3",
  "rgb": {
    "r": 93,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 256.639,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4637,
    "c": 0.17853,
    "h": 290.5
  },
  "luminance": 0.08814
}

Semantic roles & 50–950 ramp

primary
#5D3CB3
secondary
#B3C586
accent
#D94EB3
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5D3CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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