#5D2BAE#5D2BAE

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

Color values

HEX#5D2BAE
RGBrgb(93, 43, 174)
HSLhsl(263, 60%, 43%)
HSVhsv(263, 75%, 68%)
CMYKcmyk(46.6%, 75.3%, 0%, 31.8%)
CIE-LABlab(32.06, 50.58, -61.24)
CIE-LCHlch(32.06, 79.43, 309.55°)
OKLaboklab(43.7% 0.0794 -0.1756)
OKLCHoklch(43.7% 0.193 294.3)
XYZxyz(13.0160, 7.1105, 40.7229)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2BAE #7CAE2B
analogous
#2B3AAE #5D2BAE #9F2BAE
triadic
#5D2BAE #AE5D2B #2BAE5D
tetradic
#5D2BAE #AE2B3A #7CAE2B #2BAE9F
square
#5D2BAE #AE2B3A #7CAE2B #2BAE9F
split-complementary
#5D2BAE #AE9F2B #3AAE2B
monochromatic
#29134C #431F7D #5D2BAE #7B45D1 #9E76DD

Accessibility & contrast

On white

8.67
#5D2BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5D2BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2BAE
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2BAE#FFFFFF#000000##FFFFFF
##5D2BAE1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#454E6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5d2bae;
/* rgb */ color: rgb(93, 43, 174);
/* oklch */ color: oklch(43.7% 0.193 294.3);
Tailwind
colors: {
  custom: {
    50: '#936ac7',
    500: '#5d2bae',
    950: '#000000',
  },
}
SCSS
$custom: #5d2bae;
$custom-light: #936ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2bae",
  "rgb": {
    "r": 93,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 262.901,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43703,
    "c": 0.19269,
    "h": 294.3
  },
  "luminance": 0.07111
}

Semantic roles & 50–950 ramp

primary
#5D2BAE
secondary
#A4C570
accent
#E444A7
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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