#5D2CAD#5D2CAD

#5D2CAD is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.190 H 294.4°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#5D2CAD
RGBrgb(93, 44, 173)
HSLhsl(263, 59%, 43%)
HSVhsv(263, 75%, 68%)
CMYKcmyk(46.2%, 74.6%, 0%, 32.2%)
CIE-LABlab(32.14, 49.84, -60.51)
CIE-LCHlch(32.14, 78.40, 309.48°)
OKLaboklab(43.73% 0.0788 -0.1734)
OKLCHoklch(43.73% 0.19 294.4)
XYZxyz(12.9557, 7.1453, 40.2236)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2CAD #7CAD2C
analogous
#2C3BAD #5D2CAD #9E2CAD
triadic
#5D2CAD #AD5D2C #2CAD5D
tetradic
#5D2CAD #AD2C3B #7CAD2C #2CAD9E
square
#5D2CAD #AD2C3B #7CAD2C #2CAD9E
split-complementary
#5D2CAD #AD9E2C #3BAD2C
monochromatic
#29134B #43207C #5D2CAD #7B46D0 #9E77DC

Accessibility & contrast

On white

8.64
#5D2CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5D2CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2CAD
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2CAD#FFFFFF#000000##FFFFFF
##5D2CAD1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#464E6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5d2cad;
/* rgb */ color: rgb(93, 44, 173);
/* oklch */ color: oklch(43.7% 0.190 294.4);
Tailwind
colors: {
  custom: {
    50: '#936ac6',
    500: '#5d2cad',
    950: '#000000',
  },
}
SCSS
$custom: #5d2cad;
$custom-light: #936ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2cad",
  "rgb": {
    "r": 93,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 262.791,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43731,
    "c": 0.19049,
    "h": 294.4
  },
  "luminance": 0.07146
}

Semantic roles & 50–950 ramp

primary
#5D2CAD
secondary
#A4C471
accent
#E345A7
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D2CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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