#5E1A4E#5E1A4E

#5E1A4E is a dark, moderate pink. Relative luminance 0.037; OKLCH L 34.8% C 0.117 H 338.6°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#5E1A4E
RGBrgb(94, 26, 78)
HSLhsl(314, 57%, 24%)
HSVhsv(314, 72%, 37%)
CMYKcmyk(0%, 72.3%, 17%, 63.1%)
CIE-LABlab(22.55, 36.85, -15.81)
CIE-LCHlch(22.55, 40.10, 336.77°)
OKLaboklab(34.77% 0.109 -0.0428)
OKLCHoklch(34.77% 0.117 338.6)
XYZxyz(6.3608, 3.6691, 7.5795)
Luminance0.0367 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1A4E #1A5E2A
analogous
#4C1A5E #5E1A4E #5E1A2C
triadic
#5E1A4E #4E5E1A #1A4E5E
tetradic
#5E1A4E #5E4C1A #1A5E2A #1A2C5E
square
#5E1A4E #5E4C1A #1A5E2A #1A2C5E
split-complementary
#5E1A4E #2C5E1A #1A5E4C
monochromatic
#180714 #2E0D26 #5E1A4E #8E2776 #BE359E

Accessibility & contrast

On white

12.11
#5E1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5E1A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1A4E
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1A4E#FFFFFF#000000##FFFFFF
##5E1A4E1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F50
Deuteranopia (green-blind)
#333A4C
Tritanopia (blue-blind)
#641D31
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e1a4e;
/* rgb */ color: rgb(94, 26, 78);
/* oklch */ color: oklch(34.8% 0.117 338.6);
Tailwind
colors: {
  custom: {
    50: '#8e5d7f',
    500: '#5e1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #5e1a4e;
$custom-light: #8e5d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1a4e",
  "rgb": {
    "r": 94,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 314.118,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3477,
    "c": 0.1171,
    "h": 338.6
  },
  "luminance": 0.03669
}

Semantic roles & 50–950 ramp

primary
#5E1A4E
secondary
#409454
accent
#E06C48
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5E1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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