#50198F#50198F

#50198F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.176 H 298.2°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#50198F
RGBrgb(80, 25, 143)
HSLhsl(268, 70%, 33%)
HSVhsv(268, 83%, 56%)
CMYKcmyk(44.1%, 82.5%, 0%, 43.9%)
CIE-LABlab(24.90, 48.28, -54.15)
CIE-LCHlch(24.90, 72.55, 311.72°)
OKLaboklab(37.48% 0.0831 -0.1551)
OKLCHoklch(37.48% 0.176 298.2)
XYZxyz(8.6125, 4.3838, 26.3737)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50198F #588F19
analogous
#191D8F #50198F #8B198F
triadic
#50198F #8F5019 #198F50
tetradic
#50198F #8F191D #588F19 #198F8B
square
#50198F #8F191D #588F19 #198F8B
split-complementary
#50198F #8F8B19 #1D8F19
monochromatic
#160727 #33105B #50198F #6D22C3 #8C44DE

Accessibility & contrast

On white

11.19
#50198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#50198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50198F
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50198F#FFFFFF#000000##FFFFFF
##50198F1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#403B55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #50198f;
/* rgb */ color: rgb(80, 25, 143);
/* oklch */ color: oklch(37.5% 0.176 298.2);
Tailwind
colors: {
  custom: {
    50: '#885eb1',
    500: '#50198f',
    950: '#000000',
  },
}
SCSS
$custom: #50198f;
$custom-light: #885eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#50198f",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 267.966,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37477,
    "c": 0.17592,
    "h": 298.2
  },
  "luminance": 0.04384
}

Semantic roles & 50–950 ramp

primary
#50198F
secondary
#86BF44
accent
#ED3B9A
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #50198F

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

Preview Lab → · Contrast checker → · Palette generator →

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