#50177C#50177C

#50177C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.158 H 304.9°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#50177C
RGBrgb(80, 23, 124)
HSLhsl(274, 69%, 29%)
HSVhsv(274, 81%, 49%)
CMYKcmyk(35.5%, 81.5%, 0%, 51.4%)
CIE-LABlab(22.91, 44.36, -45.48)
CIE-LCHlch(22.91, 63.53, 314.29°)
OKLaboklab(35.56% 0.0905 -0.1296)
OKLCHoklch(35.56% 0.158 304.9)
XYZxyz(7.2519, 3.7735, 19.4112)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50177C #437C17
analogous
#1E177C #50177C #7C1776
triadic
#50177C #7C5017 #177C50
tetradic
#50177C #7C1E17 #437C17 #17767C
square
#50177C #7C1E17 #437C17 #17767C
split-complementary
#50177C #767C17 #177C1E
monochromatic
#11051A #2F0D48 #50177C #7121B0 #9134D9

Accessibility & contrast

On white

11.97
#50177C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#50177C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50177C
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50177C#FFFFFF#000000##FFFFFF
##50177C1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#48324A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #50177c;
/* rgb */ color: rgb(80, 23, 124);
/* oklch */ color: oklch(35.6% 0.158 304.9);
Tailwind
colors: {
  custom: {
    50: '#865ca3',
    500: '#50177c',
    950: '#000000',
  },
}
SCSS
$custom: #50177c;
$custom-light: #865ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#50177c",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 124
  },
  "hsl": {
    "h": 273.861,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35559,
    "c": 0.15809,
    "h": 304.9
  },
  "luminance": 0.03774
}

Semantic roles & 50–950 ramp

primary
#50177C
secondary
#70B13E
accent
#EC3C89
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #50177C

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

Preview Lab → · Contrast checker → · Palette generator →

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