#5D2CA4#5D2CA4

#5D2CA4 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.180 H 296.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#5D2CA4
RGBrgb(93, 44, 164)
HSLhsl(265, 58%, 41%)
HSVhsv(265, 73%, 64%)
CMYKcmyk(43.3%, 73.2%, 0%, 35.7%)
CIE-LABlab(31.37, 47.46, -56.36)
CIE-LCHlch(31.37, 73.68, 310.10°)
OKLaboklab(42.95% 0.0809 -0.1612)
OKLCHoklch(42.95% 0.18 296.6)
XYZxyz(12.1140, 6.8086, 35.7907)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2CA4 #73A42C
analogous
#2C37A4 #5D2CA4 #992CA4
triadic
#5D2CA4 #A45D2C #2CA45D
tetradic
#5D2CA4 #A42C37 #73A42C #2CA499
square
#5D2CA4 #A42C37 #73A42C #2CA499
split-complementary
#5D2CA4 #A4992C #37A42C
monochromatic
#261243 #421F74 #5D2CA4 #7A41CC #9C71D9

Accessibility & contrast

On white

8.89
#5D2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5D2CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2CA4
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2CA4#FFFFFF#000000##FFFFFF
##5D2CA41.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#4A4B65
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5d2ca4;
/* rgb */ color: rgb(93, 44, 164);
/* oklch */ color: oklch(43.0% 0.180 296.6);
Tailwind
colors: {
  custom: {
    50: '#916ac0',
    500: '#5d2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #5d2ca4;
$custom-light: #916ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2ca4",
  "rgb": {
    "r": 93,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 264.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42951,
    "c": 0.18038,
    "h": 296.6
  },
  "luminance": 0.06809
}

Semantic roles & 50–950 ramp

primary
#5D2CA4
secondary
#9EC06B
accent
#E147A2
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #5D2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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