#5D146A#5D146A

#5D146A is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.148 H 321.0°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#5D146A
RGBrgb(93, 20, 106)
HSLhsl(291, 68%, 25%)
HSVhsv(291, 81%, 42%)
CMYKcmyk(12.3%, 81.1%, 0%, 58.4%)
CIE-LABlab(23.23, 44.07, -33.28)
CIE-LCHlch(23.23, 55.22, 322.94°)
OKLaboklab(35.77% 0.1152 -0.0933)
OKLCHoklch(35.77% 0.148 321)
XYZxyz(7.3656, 3.8685, 13.9916)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D146A #216A14
analogous
#32146A #5D146A #6A144C
triadic
#5D146A #6A5D14 #146A5D
tetradic
#5D146A #6A3214 #216A14 #144C6A
square
#5D146A #6A3214 #216A14 #144C6A
split-complementary
#5D146A #4C6A14 #146A32
monochromatic
#17051A #300A37 #5D146A #8A1E9D #B727D1

Accessibility & contrast

On white

11.84
#5D146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5D146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D146A
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D146A#FFFFFF#000000##FFFFFF
##5D146A1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#1F3A68
Tritanopia (blue-blind)
#5E263F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d146a;
/* rgb */ color: rgb(93, 20, 106);
/* oklch */ color: oklch(35.8% 0.148 321.0);
Tailwind
colors: {
  custom: {
    50: '#8e5b95',
    500: '#5d146a',
    950: '#000000',
  },
}
SCSS
$custom: #5d146a;
$custom-light: #8e5b95;
$custom-dark: #000000;
JSON
{
  "hex": "#5d146a",
  "rgb": {
    "r": 93,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 290.93,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35772,
    "c": 0.14823,
    "h": 321
  },
  "luminance": 0.03868
}

Semantic roles & 50–950 ramp

primary
#5D146A
secondary
#49A139
accent
#EB3D57
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5D146A

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

Preview Lab → · Contrast checker → · Palette generator →

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