#50166C#50166C

#50166C is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.143 H 311.8°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#50166C
RGBrgb(80, 22, 108)
HSLhsl(280, 66%, 25%)
HSVhsv(280, 80%, 42%)
CMYKcmyk(25.9%, 79.6%, 0%, 57.6%)
CIE-LABlab(21.44, 40.99, -37.59)
CIE-LCHlch(21.44, 55.61, 317.48°)
OKLaboklab(34.11% 0.0953 -0.1064)
OKLCHoklch(34.11% 0.143 311.8)
XYZxyz(6.3014, 3.3622, 14.5015)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50166C #326C16
analogous
#25166C #50166C #6C165D
triadic
#50166C #6C5016 #166C50
tetradic
#50166C #6C2516 #326C16 #165D6C
square
#50166C #6C2516 #326C16 #165D6C
split-complementary
#50166C #5D6C16 #166C25
monochromatic
#130519 #2A0C39 #50166C #76209F #9B2BD2

Accessibility & contrast

On white

12.56
#50166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#50166C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50166C
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50166C#FFFFFF#000000##FFFFFF
##50166C1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#07356A
Tritanopia (blue-blind)
#4D2A40
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #50166c;
/* rgb */ color: rgb(80, 22, 108);
/* oklch */ color: oklch(34.1% 0.143 311.8);
Tailwind
colors: {
  custom: {
    50: '#855a97',
    500: '#50166c',
    950: '#000000',
  },
}
SCSS
$custom: #50166c;
$custom-light: #855a97;
$custom-dark: #000000;
JSON
{
  "hex": "#50166c",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 280.465,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34112,
    "c": 0.1428,
    "h": 311.8
  },
  "luminance": 0.03362
}

Semantic roles & 50–950 ramp

primary
#50166C
secondary
#5DA23C
accent
#E93F76
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #50166C

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

Preview Lab → · Contrast checker → · Palette generator →

#50166C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva