#50198A#50198A

#50198A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.171 H 299.8°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#50198A
RGBrgb(80, 25, 138)
HSLhsl(269, 69%, 32%)
HSVhsv(269, 82%, 54%)
CMYKcmyk(42%, 81.9%, 0%, 45.9%)
CIE-LABlab(24.44, 47.02, -51.80)
CIE-LCHlch(24.44, 69.96, 312.23°)
OKLaboklab(37.01% 0.0847 -0.1482)
OKLCHoklch(37.01% 0.171 299.8)
XYZxyz(8.2422, 4.2356, 24.4231)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50198A #538A19
analogous
#191A8A #50198A #89198A
triadic
#50198A #8A5019 #198A50
tetradic
#50198A #8A191A #538A19 #198A89
square
#50198A #8A191A #538A19 #198A89
split-complementary
#50198A #8A8919 #1A8A19
monochromatic
#140622 #321056 #50198A #6E22BE #8D41DD

Accessibility & contrast

On white

11.37
#50198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#50198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50198A
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50198A#FFFFFF#000000##FFFFFF
##50198A1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#423952
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #50198a;
/* rgb */ color: rgb(80, 25, 138);
/* oklch */ color: oklch(37.0% 0.171 299.8);
Tailwind
colors: {
  custom: {
    50: '#875dad',
    500: '#50198a',
    950: '#000000',
  },
}
SCSS
$custom: #50198a;
$custom-light: #875dad;
$custom-dark: #000000;
JSON
{
  "hex": "#50198a",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 269.204,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37011,
    "c": 0.17068,
    "h": 299.8
  },
  "luminance": 0.04236
}

Semantic roles & 50–950 ramp

primary
#50198A
secondary
#81BD42
accent
#EC3C96
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #50198A

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

Preview Lab → · Contrast checker → · Palette generator →

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