#5D2EAE#5D2EAE

#5D2EAE is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.189 H 293.9°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#5D2EAE
RGBrgb(93, 46, 174)
HSLhsl(262, 58%, 43%)
HSVhsv(262, 74%, 68%)
CMYKcmyk(46.6%, 73.6%, 0%, 31.8%)
CIE-LABlab(32.56, 49.15, -60.42)
CIE-LCHlch(32.56, 77.88, 309.13°)
OKLaboklab(44.06% 0.0768 -0.1731)
OKLCHoklch(44.06% 0.189 293.9)
XYZxyz(13.1291, 7.3367, 40.7606)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2EAE #7FAE2E
analogous
#2E3FAE #5D2EAE #9D2EAE
triadic
#5D2EAE #AE5D2E #2EAE5D
tetradic
#5D2EAE #AE2E3F #7FAE2E #2EAE9D
square
#5D2EAE #AE2E3F #7FAE2E #2EAE9D
split-complementary
#5D2EAE #AE9D2E #3FAE2E
monochromatic
#29144D #43217E #5D2EAE #7B4ACF #9E7ADC

Accessibility & contrast

On white

8.51
#5D2EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5D2EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2EAE
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2EAE#FFFFFF#000000##FFFFFF
##5D2EAE1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#45506B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5d2eae;
/* rgb */ color: rgb(93, 46, 174);
/* oklch */ color: oklch(44.1% 0.189 293.9);
Tailwind
colors: {
  custom: {
    50: '#936bc7',
    500: '#5d2eae',
    950: '#000000',
  },
}
SCSS
$custom: #5d2eae;
$custom-light: #936bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2eae",
  "rgb": {
    "r": 93,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 262.031,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44058,
    "c": 0.18942,
    "h": 293.9
  },
  "luminance": 0.07337
}

Semantic roles & 50–950 ramp

primary
#5D2EAE
secondary
#A7C474
accent
#E146A8
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D2EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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