#5F104C#5F104C

#5F104C is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.9% C 0.129 H 339.9°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#5F104C
RGBrgb(95, 16, 76)
HSLhsl(314, 71%, 22%)
HSVhsv(314, 83%, 37%)
CMYKcmyk(0%, 83.2%, 20%, 62.7%)
CIE-LABlab(21.30, 40.58, -16.37)
CIE-LCHlch(21.30, 43.76, 338.03°)
OKLaboklab(33.87% 0.1212 -0.0443)
OKLCHoklch(33.87% 0.129 339.9)
XYZxyz(6.2093, 3.3259, 7.1510)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F104C #105F23
analogous
#4B105F #5F104C #5F1025
triadic
#5F104C #4C5F10 #104C5F
tetradic
#5F104C #5F4B10 #105F23 #10255F
square
#5F104C #5F4B10 #105F23 #10255F
split-complementary
#5F104C #255F10 #105F4B
monochromatic
#1A0415 #2B0722 #5F104C #931976 #C822A0

Accessibility & contrast

On white

12.61
#5F104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5F104C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F104C
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F104C#FFFFFF#000000##FFFFFF
##5F104C1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162B4E
Deuteranopia (green-blind)
#30384A
Tritanopia (blue-blind)
#65132D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f104c;
/* rgb */ color: rgb(95, 16, 76);
/* oklch */ color: oklch(33.9% 0.129 339.9);
Tailwind
colors: {
  custom: {
    50: '#90597e',
    500: '#5f104c',
    950: '#000000',
  },
}
SCSS
$custom: #5f104c;
$custom-light: #90597e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f104c",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 314.43,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33874,
    "c": 0.12899,
    "h": 339.9
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#5F104C
secondary
#33984B
accent
#EE653A
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F104C

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

Preview Lab → · Contrast checker → · Palette generator →

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