#50104F#50104F

#50104F is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.122 H 328.7°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#50104F
RGBrgb(80, 16, 79)
HSLhsl(301, 67%, 19%)
HSVhsv(301, 80%, 31%)
CMYKcmyk(0%, 80%, 1.2%, 68.6%)
CIE-LABlab(18.54, 37.25, -22.96)
CIE-LCHlch(18.54, 43.76, 328.36°)
OKLaboklab(31.39% 0.1045 -0.0635)
OKLCHoklch(31.39% 0.122 328.7)
XYZxyz(4.9048, 2.6409, 7.6470)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50104F #105011
analogous
#311050 #50104F #50102F
triadic
#50104F #4F5010 #104F50
tetradic
#50104F #503110 #105011 #102F50
square
#50104F #503110 #105011 #102F50
split-complementary
#50104F #2F5010 #105031
monochromatic
#1A0519 #1D061D #50104F #831A81 #B624B4

Accessibility & contrast

On white

13.74
#50104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#50104F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50104F
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50104F#FFFFFF#000000##FFFFFF
##50104F1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052851
Deuteranopia (green-blind)
#22304D
Tritanopia (blue-blind)
#531A2E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #50104f;
/* rgb */ color: rgb(80, 16, 79);
/* oklch */ color: oklch(31.4% 0.122 328.7);
Tailwind
colors: {
  custom: {
    50: '#845680',
    500: '#50104f',
    950: '#000000',
  },
}
SCSS
$custom: #50104f;
$custom-light: #845680;
$custom-dark: #000000;
JSON
{
  "hex": "#50104f",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 300.938,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31393,
    "c": 0.12228,
    "h": 328.7
  },
  "luminance": 0.02641
}

Semantic roles & 50–950 ramp

primary
#50104F
secondary
#328A33
accent
#EA413E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #50104F

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

Preview Lab → · Contrast checker → · Palette generator →

#50104F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva