#5B134E#5B134E

#5B134E is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.5% C 0.124 H 336.4°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#5B134E
RGBrgb(91, 19, 78)
HSLhsl(311, 65%, 22%)
HSVhsv(311, 79%, 36%)
CMYKcmyk(0%, 79.1%, 14.3%, 64.3%)
CIE-LABlab(20.98, 38.82, -18.29)
CIE-LCHlch(20.98, 42.91, 334.77°)
OKLaboklab(33.53% 0.114 -0.0498)
OKLCHoklch(33.53% 0.124 336.4)
XYZxyz(5.9225, 3.2405, 7.5198)
Luminance0.0324 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B134E #135B20
analogous
#44135B #5B134E #5B132A
triadic
#5B134E #4E5B13 #134E5B
tetradic
#5B134E #5B4413 #135B20 #132A5B
square
#5B134E #5B4413 #135B20 #132A5B
split-complementary
#5B134E #2A5B13 #135B44
monochromatic
#190516 #280823 #5B134E #8E1E79 #C028A5

Accessibility & contrast

On white

12.74
#5B134E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B134E
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B134E#FFFFFF#000000##FFFFFF
##5B134E1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B50
Deuteranopia (green-blind)
#2D364C
Tritanopia (blue-blind)
#60182F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b134e;
/* rgb */ color: rgb(91, 19, 78);
/* oklch */ color: oklch(33.5% 0.124 336.4);
Tailwind
colors: {
  custom: {
    50: '#8c597f',
    500: '#5b134e',
    950: '#000000',
  },
}
SCSS
$custom: #5b134e;
$custom-light: #8c597f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b134e",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 78
  },
  "hsl": {
    "h": 310.833,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33528,
    "c": 0.12444,
    "h": 336.4
  },
  "luminance": 0.0324
}

Semantic roles & 50–950 ramp

primary
#5B134E
secondary
#379347
accent
#E85E3F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5B134E

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

Preview Lab → · Contrast checker → · Palette generator →

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