#5D1E89#5D1E89

#5D1E89 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.167 H 306.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#5D1E89
RGBrgb(93, 30, 137)
HSLhsl(275, 64%, 33%)
HSVhsv(275, 78%, 54%)
CMYKcmyk(32.1%, 78.1%, 0%, 46.3%)
CIE-LABlab(26.91, 47.02, -47.06)
CIE-LCHlch(26.91, 66.53, 314.98°)
OKLaboklab(39.11% 0.1003 -0.1338)
OKLCHoklch(39.11% 0.167 306.8)
XYZxyz(9.4929, 5.0620, 24.1390)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1E89 #4A891E
analogous
#271E89 #5D1E89 #891E7F
triadic
#5D1E89 #895D1E #1E895D
tetradic
#5D1E89 #89271E #4A891E #1E7F89
square
#5D1E89 #89271E #4A891E #1E7F89
split-complementary
#5D1E89 #7F891E #1E8927
monochromatic
#190825 #3B1357 #5D1E89 #7F29BB #9D4AD7

Accessibility & contrast

On white

10.44
#5D1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#5D1E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1E89
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1E89#FFFFFF#000000##FFFFFF
##5D1E891.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#553953
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5d1e89;
/* rgb */ color: rgb(93, 30, 137);
/* oklch */ color: oklch(39.1% 0.167 306.8);
Tailwind
colors: {
  custom: {
    50: '#9061ac',
    500: '#5d1e89',
    950: '#000000',
  },
}
SCSS
$custom: #5d1e89;
$custom-light: #9061ac;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1e89",
  "rgb": {
    "r": 93,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 275.327,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39112,
    "c": 0.16721,
    "h": 306.8
  },
  "luminance": 0.05062
}

Semantic roles & 50–950 ramp

primary
#5D1E89
secondary
#77BA49
accent
#E74185
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5D1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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