#50104B#50104B

#50104B is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.1% C 0.119 H 331.5°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#50104B
RGBrgb(80, 16, 75)
HSLhsl(305, 67%, 19%)
HSVhsv(305, 80%, 31%)
CMYKcmyk(0%, 80%, 6.2%, 68.6%)
CIE-LABlab(18.30, 36.52, -20.62)
CIE-LCHlch(18.30, 41.94, 330.55°)
OKLaboklab(31.14% 0.1044 -0.0568)
OKLCHoklch(31.14% 0.119 331.5)
XYZxyz(4.7636, 2.5844, 6.9032)
Luminance0.0258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50104B #105015
analogous
#351050 #50104B #50102B
triadic
#50104B #4B5010 #104B50
tetradic
#50104B #503510 #105015 #102B50
square
#50104B #503510 #105015 #102B50
split-complementary
#50104B #2B5010 #105035
monochromatic
#1A0518 #1D061B #50104B #831A7B #B624AB

Accessibility & contrast

On white

13.84
#50104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#50104B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50104B
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50104B#FFFFFF#000000##FFFFFF
##50104B1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B274D
Deuteranopia (green-blind)
#243049
Tritanopia (blue-blind)
#54182C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #50104b;
/* rgb */ color: rgb(80, 16, 75);
/* oklch */ color: oklch(31.1% 0.119 331.5);
Tailwind
colors: {
  custom: {
    50: '#84567d',
    500: '#50104b',
    950: '#000000',
  },
}
SCSS
$custom: #50104b;
$custom-light: #84567d;
$custom-dark: #000000;
JSON
{
  "hex": "#50104b",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 304.688,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31135,
    "c": 0.11881,
    "h": 331.5
  },
  "luminance": 0.02584
}

Semantic roles & 50–950 ramp

primary
#50104B
secondary
#328A39
accent
#EA4C3E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #50104B

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

Preview Lab → · Contrast checker → · Palette generator →

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