#5D104E#5D104E

#5D104E is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.6% C 0.129 H 337.4°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#5D104E
RGBrgb(93, 16, 78)
HSLhsl(312, 71%, 21%)
HSVhsv(312, 83%, 36%)
CMYKcmyk(0%, 82.8%, 16.1%, 63.5%)
CIE-LABlab(21.01, 40.37, -18.22)
CIE-LCHlch(21.01, 44.29, 335.71°)
OKLaboklab(33.62% 0.1193 -0.0496)
OKLCHoklch(33.62% 0.129 337.4)
XYZxyz(6.0748, 3.2484, 7.5133)
Luminance0.0325 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D104E #105D1F
analogous
#46105D #5D104E #5D1028
triadic
#5D104E #4E5D10 #104E5D
tetradic
#5D104E #5D4610 #105D1F #10285D
square
#5D104E #5D4610 #105D1F #10285D
split-complementary
#5D104E #285D10 #105D46
monochromatic
#1A0416 #290722 #5D104E #91197A #C522A6

Accessibility & contrast

On white

12.73
#5D104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5D104E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D104E
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D104E#FFFFFF#000000##FFFFFF
##5D104E1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132B50
Deuteranopia (green-blind)
#2E374C
Tritanopia (blue-blind)
#62152E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d104e;
/* rgb */ color: rgb(93, 16, 78);
/* oklch */ color: oklch(33.6% 0.129 337.4);
Tailwind
colors: {
  custom: {
    50: '#8e587f',
    500: '#5d104e',
    950: '#000000',
  },
}
SCSS
$custom: #5d104e;
$custom-light: #8e587f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d104e",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 311.688,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33624,
    "c": 0.12918,
    "h": 337.4
  },
  "luminance": 0.03248
}

Semantic roles & 50–950 ramp

primary
#5D104E
secondary
#339646
accent
#ED5D3A
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D104E

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

Preview Lab → · Contrast checker → · Palette generator →

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