#5D1E80#5D1E80

#5D1E80 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.158 H 310.2°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#5D1E80
RGBrgb(93, 30, 128)
HSLhsl(279, 62%, 31%)
HSVhsv(279, 77%, 50%)
CMYKcmyk(27.3%, 76.6%, 0%, 49.8%)
CIE-LABlab(26.20, 44.93, -42.58)
CIE-LCHlch(26.20, 61.90, 316.54°)
OKLaboklab(38.39% 0.1021 -0.1206)
OKLCHoklch(38.39% 0.158 310.2)
XYZxyz(8.8740, 4.8144, 20.8797)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1E80 #41801E
analogous
#2C1E80 #5D1E80 #801E72
triadic
#5D1E80 #805D1E #1E805D
tetradic
#5D1E80 #802C1E #41801E #1E7280
square
#5D1E80 #802C1E #41801E #1E7280
split-complementary
#5D1E80 #72801E #1E802C
monochromatic
#15071D #39124E #5D1E80 #812AB2 #A145D3

Accessibility & contrast

On white

10.70
#5D1E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#5D1E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1E80
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1E80#FFFFFF#000000##FFFFFF
##5D1E801.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#073F7E
Tritanopia (blue-blind)
#58354D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5d1e80;
/* rgb */ color: rgb(93, 30, 128);
/* oklch */ color: oklch(38.4% 0.158 310.2);
Tailwind
colors: {
  custom: {
    50: '#8f61a5',
    500: '#5d1e80',
    950: '#000000',
  },
}
SCSS
$custom: #5d1e80;
$custom-light: #8f61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1e80",
  "rgb": {
    "r": 93,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 278.571,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38387,
    "c": 0.15804,
    "h": 310.2
  },
  "luminance": 0.04814
}

Semantic roles & 50–950 ramp

primary
#5D1E80
secondary
#6DB347
accent
#E5437D
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5D1E80

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

Preview Lab → · Contrast checker → · Palette generator →

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