#5D2DAE#5D2DAE

#5D2DAE is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.191 H 294.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#5D2DAE
RGBrgb(93, 45, 174)
HSLhsl(262, 59%, 43%)
HSVhsv(262, 74%, 68%)
CMYKcmyk(46.6%, 74.1%, 0%, 31.8%)
CIE-LABlab(32.39, 49.63, -60.69)
CIE-LCHlch(32.39, 78.40, 309.27°)
OKLaboklab(43.94% 0.0777 -0.174)
OKLCHoklch(43.94% 0.191 294.1)
XYZxyz(13.0905, 7.2595, 40.7477)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2DAE #7EAE2D
analogous
#2D3DAE #5D2DAE #9E2DAE
triadic
#5D2DAE #AE5D2D #2DAE5D
tetradic
#5D2DAE #AE2D3D #7EAE2D #2DAE9E
square
#5D2DAE #AE2D3D #7EAE2D #2DAE9E
split-complementary
#5D2DAE #AE9E2D #3DAE2D
monochromatic
#29144D #43207D #5D2DAE #7B48D0 #9E79DC

Accessibility & contrast

On white

8.56
#5D2DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5D2DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2DAE
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2DAE#FFFFFF#000000##FFFFFF
##5D2DAE1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#454F6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5d2dae;
/* rgb */ color: rgb(93, 45, 174);
/* oklch */ color: oklch(43.9% 0.191 294.1);
Tailwind
colors: {
  custom: {
    50: '#936bc7',
    500: '#5d2dae',
    950: '#000000',
  },
}
SCSS
$custom: #5d2dae;
$custom-light: #936bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2dae",
  "rgb": {
    "r": 93,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 262.326,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43937,
    "c": 0.19052,
    "h": 294.1
  },
  "luminance": 0.0726
}

Semantic roles & 50–950 ramp

primary
#5D2DAE
secondary
#A6C472
accent
#E246A8
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D2DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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