#5D1390#5D1390

#5D1390 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.8% C 0.184 H 305.5°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#5D1390
RGBrgb(93, 19, 144)
HSLhsl(276, 77%, 32%)
HSVhsv(276, 87%, 56%)
CMYKcmyk(35.4%, 86.8%, 0%, 43.5%)
CIE-LABlab(26.18, 52.50, -52.61)
CIE-LCHlch(26.18, 74.33, 314.94°)
OKLaboklab(38.78% 0.1069 -0.15)
OKLCHoklch(38.78% 0.184 305.5)
XYZxyz(9.7800, 4.8066, 26.7927)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1390 #469013
analogous
#1F1390 #5D1390 #901385
triadic
#5D1390 #905D13 #13905D
tetradic
#5D1390 #901F13 #469013 #138590
square
#5D1390 #901F13 #469013 #138590
split-complementary
#5D1390 #859013 #13901F
monochromatic
#170524 #3A0C5A #5D1390 #801AC6 #9F39E5

Accessibility & contrast

On white

10.71
#5D1390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1390
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1390#FFFFFF#000000##FFFFFF
##5D13901.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#533755
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5d1390;
/* rgb */ color: rgb(93, 19, 144);
/* oklch */ color: oklch(38.8% 0.184 305.5);
Tailwind
colors: {
  custom: {
    50: '#915db1',
    500: '#5d1390',
    950: '#000000',
  },
}
SCSS
$custom: #5d1390;
$custom-light: #915db1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1390",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 275.52,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38785,
    "c": 0.1842,
    "h": 305.5
  },
  "luminance": 0.04807
}

Semantic roles & 50–950 ramp

primary
#5D1390
secondary
#73C43B
accent
#F33582
background
#F9F5FB
surface
#F2E9F6
border
#CCC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #5D1390

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

Preview Lab → · Contrast checker → · Palette generator →

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