#5D1CA0#5D1CA0

#5D1CA0 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.192 H 299.7°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#5D1CA0
RGBrgb(93, 28, 160)
HSLhsl(270, 70%, 37%)
HSVhsv(270, 83%, 63%)
CMYKcmyk(41.9%, 82.5%, 0%, 37.3%)
CIE-LABlab(28.63, 53.29, -58.41)
CIE-LCHlch(28.63, 79.06, 312.37°)
OKLaboklab(40.93% 0.0954 -0.1671)
OKLCHoklch(40.93% 0.192 299.7)
XYZxyz(11.2730, 5.6956, 33.7563)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1CA0 #5FA01C
analogous
#1C1DA0 #5D1CA0 #9F1CA0
triadic
#5D1CA0 #A05D1C #1CA05D
tetradic
#5D1CA0 #A01C1D #5FA01C #1CA09F
square
#5D1CA0 #A01C1D #5FA01C #1CA09F
split-complementary
#5D1CA0 #A09F1C #1DA01C
monochromatic
#200A38 #3F136C #5D1CA0 #7B25D4 #9A55E1

Accessibility & contrast

On white

9.82
#5D1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#5D1CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1CA0
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1CA0#FFFFFF#000000##FFFFFF
##5D1CA01.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#4D425F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5d1ca0;
/* rgb */ color: rgb(93, 28, 160);
/* oklch */ color: oklch(40.9% 0.192 299.7);
Tailwind
colors: {
  custom: {
    50: '#9262bd',
    500: '#5d1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #5d1ca0;
$custom-light: #9262bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1ca0",
  "rgb": {
    "r": 93,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 269.545,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40927,
    "c": 0.19245,
    "h": 299.7
  },
  "luminance": 0.05696
}

Semantic roles & 50–950 ramp

primary
#5D1CA0
secondary
#8DC453
accent
#ED3B95
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #5D1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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