#50199C#50199C

#50199C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.7% C 0.190 H 294.5°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#50199C
RGBrgb(80, 25, 156)
HSLhsl(265, 72%, 35%)
HSVhsv(265, 84%, 61%)
CMYKcmyk(48.7%, 84%, 0%, 38.8%)
CIE-LABlab(26.16, 51.58, -60.09)
CIE-LCHlch(26.16, 79.19, 310.64°)
OKLaboklab(38.73% 0.0785 -0.1725)
OKLCHoklch(38.73% 0.19 294.5)
XYZxyz(9.6550, 4.8007, 31.8640)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50199C #659C19
analogous
#19239C #50199C #91199C
triadic
#50199C #9C5019 #199C50
tetradic
#50199C #9C1923 #659C19 #199C91
square
#50199C #9C1923 #659C19 #199C91
split-complementary
#50199C #9C9119 #239C19
monochromatic
#1A0833 #351167 #50199C #6B21D1 #8C4DE2

Accessibility & contrast

On white

10.71
#50199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#50199C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50199C
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50199C#FFFFFF#000000##FFFFFF
##50199C1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#39405C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #50199c;
/* rgb */ color: rgb(80, 25, 156);
/* oklch */ color: oklch(38.7% 0.190 294.5);
Tailwind
colors: {
  custom: {
    50: '#8a5fba',
    500: '#50199c',
    950: '#000000',
  },
}
SCSS
$custom: #50199c;
$custom-light: #8a5fba;
$custom-dark: #000000;
JSON
{
  "hex": "#50199c",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 265.191,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38728,
    "c": 0.18952,
    "h": 294.5
  },
  "luminance": 0.04801
}

Semantic roles & 50–950 ramp

primary
#50199C
secondary
#92C44C
accent
#EF39A3
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #50199C

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

Preview Lab → · Contrast checker → · Palette generator →

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