#5D2CAC#5D2CAC

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

Color values

HEX#5D2CAC
RGBrgb(93, 44, 172)
HSLhsl(263, 59%, 42%)
HSVhsv(263, 74%, 67%)
CMYKcmyk(45.9%, 74.4%, 0%, 32.5%)
CIE-LABlab(32.05, 49.58, -60.06)
CIE-LCHlch(32.05, 77.88, 309.54°)
OKLaboklab(43.64% 0.0791 -0.1721)
OKLCHoklch(43.64% 0.189 294.7)
XYZxyz(12.8593, 7.1067, 39.7159)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2CAC #7BAC2C
analogous
#2C3BAC #5D2CAC #9D2CAC
triadic
#5D2CAC #AC5D2C #2CAC5D
tetradic
#5D2CAC #AC2C3B #7BAC2C #2CAC9D
square
#5D2CAC #AC2C3B #7BAC2C #2CAC9D
split-complementary
#5D2CAC #AC9D2C #3BAC2C
monochromatic
#28134B #43207B #5D2CAC #7A46D0 #9D76DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D2CAC#FFFFFF#000000##FFFFFF
##5D2CAC1.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)
#004DB0
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#464E6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5d2cac;
/* rgb */ color: rgb(93, 44, 172);
/* oklch */ color: oklch(43.6% 0.189 294.7);
Tailwind
colors: {
  custom: {
    50: '#926ac6',
    500: '#5d2cac',
    950: '#000000',
  },
}
SCSS
$custom: #5d2cac;
$custom-light: #926ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2cac",
  "rgb": {
    "r": 93,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 262.969,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43643,
    "c": 0.18937,
    "h": 294.7
  },
  "luminance": 0.07107
}

Semantic roles & 50–950 ramp

primary
#5D2CAC
secondary
#A4C470
accent
#E245A6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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