#5D2BAD#5D2BAD

#5D2BAD is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.192 H 294.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#5D2BAD
RGBrgb(93, 43, 173)
HSLhsl(263, 60%, 42%)
HSVhsv(263, 75%, 68%)
CMYKcmyk(46.2%, 75.1%, 0%, 32.2%)
CIE-LABlab(31.97, 50.31, -60.79)
CIE-LCHlch(31.97, 78.91, 309.62°)
OKLaboklab(43.61% 0.0797 -0.1742)
OKLCHoklch(43.61% 0.192 294.6)
XYZxyz(12.9189, 7.0717, 40.2114)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2BAD #7BAD2B
analogous
#2B3AAD #5D2BAD #9E2BAD
triadic
#5D2BAD #AD5D2B #2BAD5D
tetradic
#5D2BAD #AD2B3A #7BAD2B #2BAD9E
square
#5D2BAD #AD2B3A #7BAD2B #2BAD9E
split-complementary
#5D2BAD #AD9E2B #3AAD2B
monochromatic
#28134B #431F7C #5D2BAD #7A45D1 #9D76DD

Accessibility & contrast

On white

8.70
#5D2BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5D2BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2BAD
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2BAD#FFFFFF#000000##FFFFFF
##5D2BAD1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d2bad;
/* rgb */ color: rgb(93, 43, 173);
/* oklch */ color: oklch(43.6% 0.192 294.6);
Tailwind
colors: {
  custom: {
    50: '#936ac6',
    500: '#5d2bad',
    950: '#000000',
  },
}
SCSS
$custom: #5d2bad;
$custom-light: #936ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2bad",
  "rgb": {
    "r": 93,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 263.077,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43614,
    "c": 0.19157,
    "h": 294.6
  },
  "luminance": 0.07072
}

Semantic roles & 50–950 ramp

primary
#5D2BAD
secondary
#A4C46F
accent
#E344A6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D2BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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