#50197C#50197C

#50197C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.156 H 304.7°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#50197C
RGBrgb(80, 25, 124)
HSLhsl(273, 66%, 29%)
HSVhsv(273, 80%, 49%)
CMYKcmyk(35.5%, 79.8%, 0%, 51.4%)
CIE-LABlab(23.19, 43.55, -45.02)
CIE-LCHlch(23.19, 62.64, 314.05°)
OKLaboklab(35.76% 0.0888 -0.1283)
OKLCHoklch(35.76% 0.156 304.7)
XYZxyz(7.2932, 3.8560, 19.4249)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50197C #457C19
analogous
#1E197C #50197C #7C1977
triadic
#50197C #7C5019 #197C50
tetradic
#50197C #7C1E19 #457C19 #19777C
square
#50197C #7C1E19 #457C19 #19777C
split-complementary
#50197C #777C19 #197C1E
monochromatic
#100519 #2F0F49 #50197C #7123AF #9138D7

Accessibility & contrast

On white

11.86
#50197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#50197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50197C
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50197C#FFFFFF#000000##FFFFFF
##50197C1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #50197c;
/* rgb */ color: rgb(80, 25, 124);
/* oklch */ color: oklch(35.8% 0.156 304.7);
Tailwind
colors: {
  custom: {
    50: '#865da3',
    500: '#50197c',
    950: '#000000',
  },
}
SCSS
$custom: #50197c;
$custom-light: #865da3;
$custom-dark: #000000;
JSON
{
  "hex": "#50197c",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 273.333,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35756,
    "c": 0.15598,
    "h": 304.7
  },
  "luminance": 0.03856
}

Semantic roles & 50–950 ramp

primary
#50197C
secondary
#72B040
accent
#E93E8A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #50197C

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

Preview Lab → · Contrast checker → · Palette generator →

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