#5D146F#5D146F

#5D146F is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.153 H 318.6°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#5D146F
RGBrgb(93, 20, 111)
HSLhsl(288, 69%, 26%)
HSVhsv(288, 82%, 44%)
CMYKcmyk(16.2%, 82%, 0%, 56.5%)
CIE-LABlab(23.59, 45.07, -35.95)
CIE-LCHlch(23.59, 57.65, 321.43°)
OKLaboklab(36.14% 0.1145 -0.1011)
OKLCHoklch(36.14% 0.153 318.6)
XYZxyz(7.6332, 3.9755, 15.4011)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D146F #266F14
analogous
#2F146F #5D146F #6F1453
triadic
#5D146F #6F5D14 #146F5D
tetradic
#5D146F #6F2F14 #266F14 #14536F
square
#5D146F #6F2F14 #266F14 #14536F
split-complementary
#5D146F #536F14 #146F2F
monochromatic
#16051A #320B3B #5D146F #881DA3 #B427D7

Accessibility & contrast

On white

11.70
#5D146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5D146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D146F
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D146F#FFFFFF#000000##FFFFFF
##5D146F1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#193A6D
Tritanopia (blue-blind)
#5D2841
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d146f;
/* rgb */ color: rgb(93, 20, 111);
/* oklch */ color: oklch(36.1% 0.153 318.6);
Tailwind
colors: {
  custom: {
    50: '#8e5c99',
    500: '#5d146f',
    950: '#000000',
  },
}
SCSS
$custom: #5d146f;
$custom-light: #8e5c99;
$custom-dark: #000000;
JSON
{
  "hex": "#5d146f",
  "rgb": {
    "r": 93,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 288.132,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3614,
    "c": 0.15275,
    "h": 318.6
  },
  "luminance": 0.03975
}

Semantic roles & 50–950 ramp

primary
#5D146F
secondary
#4FA639
accent
#EC3C5E
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5D146F

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

Preview Lab → · Contrast checker → · Palette generator →

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