#5D1B92#5D1B92

#5D1B92 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.179 H 304.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#5D1B92
RGBrgb(93, 27, 146)
HSLhsl(273, 69%, 34%)
HSVhsv(273, 82%, 57%)
CMYKcmyk(36.3%, 81.5%, 0%, 42.7%)
CIE-LABlab(27.26, 50.31, -52.08)
CIE-LCHlch(27.26, 72.41, 314.01°)
OKLaboklab(39.59% 0.1005 -0.1485)
OKLCHoklch(39.59% 0.179 304.1)
XYZxyz(10.0932, 5.1864, 27.6579)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1B92 #50921B
analogous
#211B92 #5D1B92 #921B8C
triadic
#5D1B92 #925D1B #1B925D
tetradic
#5D1B92 #92211B #50921B #1B8C92
square
#5D1B92 #92211B #50921B #1B8C92
split-complementary
#5D1B92 #8C921B #1B9221
monochromatic
#1B082B #3C115E #5D1B92 #7E25C6 #9C4ADE

Accessibility & contrast

On white

10.31
#5D1B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#5D1B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1B92
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1B92#FFFFFF#000000##FFFFFF
##5D1B921.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#523B57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5d1b92;
/* rgb */ color: rgb(93, 27, 146);
/* oklch */ color: oklch(39.6% 0.179 304.1);
Tailwind
colors: {
  custom: {
    50: '#9160b3',
    500: '#5d1b92',
    950: '#000000',
  },
}
SCSS
$custom: #5d1b92;
$custom-light: #9160b3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1b92",
  "rgb": {
    "r": 93,
    "g": 27,
    "b": 146
  },
  "hsl": {
    "h": 273.277,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39591,
    "c": 0.17935,
    "h": 304.1
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#5D1B92
secondary
#7EBF49
accent
#EC3C8A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #5D1B92

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

Preview Lab → · Contrast checker → · Palette generator →

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