#50146C#50146C

#50146C is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.145 H 312.1°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#50146C
RGBrgb(80, 20, 108)
HSLhsl(281, 69%, 25%)
HSVhsv(281, 81%, 42%)
CMYKcmyk(25.9%, 81.5%, 0%, 57.6%)
CIE-LABlab(21.16, 41.78, -38.03)
CIE-LCHlch(21.16, 56.50, 317.69°)
OKLaboklab(33.92% 0.0972 -0.1077)
OKLCHoklch(33.92% 0.145 312.1)
XYZxyz(6.2647, 3.2887, 14.4892)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50146C #306C14
analogous
#24146C #50146C #6C145C
triadic
#50146C #6C5014 #146C50
tetradic
#50146C #6C2414 #306C14 #145C6C
square
#50146C #6C2414 #306C14 #145C6C
split-complementary
#50146C #5C6C14 #146C24
monochromatic
#13051A #2A0A38 #50146C #761EA0 #9C27D3

Accessibility & contrast

On white

12.67
#50146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#50146C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50146C
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50146C#FFFFFF#000000##FFFFFF
##50146C1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306E
Deuteranopia (green-blind)
#04346A
Tritanopia (blue-blind)
#4D2940
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #50146c;
/* rgb */ color: rgb(80, 20, 108);
/* oklch */ color: oklch(33.9% 0.145 312.1);
Tailwind
colors: {
  custom: {
    50: '#855997',
    500: '#50146c',
    950: '#000000',
  },
}
SCSS
$custom: #50146c;
$custom-light: #855997;
$custom-dark: #000000;
JSON
{
  "hex": "#50146c",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 280.909,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33918,
    "c": 0.14504,
    "h": 312.1
  },
  "luminance": 0.03288
}

Semantic roles & 50–950 ramp

primary
#50146C
secondary
#5BA339
accent
#EC3C74
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #50146C

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

Preview Lab → · Contrast checker → · Palette generator →

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