#5D1EA0#5D1EA0

#5D1EA0 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.191 H 299.5°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#5D1EA0
RGBrgb(93, 30, 160)
HSLhsl(269, 68%, 37%)
HSVhsv(269, 81%, 63%)
CMYKcmyk(41.9%, 81.3%, 0%, 37.3%)
CIE-LABlab(28.89, 52.54, -57.99)
CIE-LCHlch(28.89, 78.26, 312.18°)
OKLaboklab(41.1% 0.094 -0.1659)
OKLCHoklch(41.1% 0.191 299.5)
XYZxyz(11.3220, 5.7936, 33.7727)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1EA0 #61A01E
analogous
#1E20A0 #5D1EA0 #9E1EA0
triadic
#5D1EA0 #A05D1E #1EA05D
tetradic
#5D1EA0 #A01E20 #61A01E #1EA09E
square
#5D1EA0 #A01E20 #61A01E #1EA09E
split-complementary
#5D1EA0 #A09E1E #20A01E
monochromatic
#210B39 #3F146C #5D1EA0 #7B28D4 #9A59E0

Accessibility & contrast

On white

9.73
#5D1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#5D1EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1EA0
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1EA0#FFFFFF#000000##FFFFFF
##5D1EA01.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#4D4360
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5d1ea0;
/* rgb */ color: rgb(93, 30, 160);
/* oklch */ color: oklch(41.1% 0.191 299.5);
Tailwind
colors: {
  custom: {
    50: '#9262bd',
    500: '#5d1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #5d1ea0;
$custom-light: #9262bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1ea0",
  "rgb": {
    "r": 93,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 269.077,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41103,
    "c": 0.19067,
    "h": 299.5
  },
  "luminance": 0.05794
}

Semantic roles & 50–950 ramp

primary
#5D1EA0
secondary
#8FC456
accent
#EB3D97
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #5D1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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