#50196F#50196F

#50196F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.142 H 310.1°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#50196F
RGBrgb(80, 25, 111)
HSLhsl(278, 63%, 27%)
HSVhsv(278, 77%, 44%)
CMYKcmyk(27.9%, 77.5%, 0%, 56.5%)
CIE-LABlab(22.12, 40.42, -38.43)
CIE-LCHlch(22.12, 55.77, 316.45°)
OKLaboklab(34.67% 0.0917 -0.1089)
OKLCHoklch(34.67% 0.142 310.1)
XYZxyz(6.5246, 3.5486, 15.3771)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50196F #386F19
analogous
#25196F #50196F #6F1963
triadic
#50196F #6F5019 #196F50
tetradic
#50196F #6F2519 #386F19 #19636F
square
#50196F #6F2519 #386F19 #19636F
split-complementary
#50196F #636F19 #196F25
monochromatic
#120619 #2C0E3D #50196F #7424A1 #9732D1

Accessibility & contrast

On white

12.28
#50196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#50196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50196F
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50196F#FFFFFF#000000##FFFFFF
##50196F1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#05366D
Tritanopia (blue-blind)
#4C2D43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #50196f;
/* rgb */ color: rgb(80, 25, 111);
/* oklch */ color: oklch(34.7% 0.142 310.1);
Tailwind
colors: {
  custom: {
    50: '#855c99',
    500: '#50196f',
    950: '#000000',
  },
}
SCSS
$custom: #50196f;
$custom-light: #855c99;
$custom-dark: #000000;
JSON
{
  "hex": "#50196f",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 278.372,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34667,
    "c": 0.14233,
    "h": 310.1
  },
  "luminance": 0.03548
}

Semantic roles & 50–950 ramp

primary
#50196F
secondary
#64A43F
accent
#E6427D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #50196F

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

Preview Lab → · Contrast checker → · Palette generator →

#50196F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva