#50198B#50198B

#50198B is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.172 H 299.4°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#50198B
RGBrgb(80, 25, 139)
HSLhsl(269, 70%, 32%)
HSVhsv(269, 82%, 55%)
CMYKcmyk(42.4%, 82%, 0%, 45.5%)
CIE-LABlab(24.53, 47.27, -52.28)
CIE-LCHlch(24.53, 70.48, 312.12°)
OKLaboklab(37.1% 0.0844 -0.1496)
OKLCHoklch(37.1% 0.172 299.4)
XYZxyz(8.3149, 4.2647, 24.8062)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50198B #548B19
analogous
#191B8B #50198B #89198B
triadic
#50198B #8B5019 #198B50
tetradic
#50198B #8B191B #548B19 #198B89
square
#50198B #8B191B #548B19 #198B89
split-complementary
#50198B #8B8919 #1B8B19
monochromatic
#140623 #321057 #50198B #6E22BF #8C41DD

Accessibility & contrast

On white

11.33
#50198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50198B
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50198B#FFFFFF#000000##FFFFFF
##50198B1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#423953
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #50198b;
/* rgb */ color: rgb(80, 25, 139);
/* oklch */ color: oklch(37.1% 0.172 299.4);
Tailwind
colors: {
  custom: {
    50: '#885dae',
    500: '#50198b',
    950: '#000000',
  },
}
SCSS
$custom: #50198b;
$custom-light: #885dae;
$custom-dark: #000000;
JSON
{
  "hex": "#50198b",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 268.947,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37103,
    "c": 0.17173,
    "h": 299.4
  },
  "luminance": 0.04265
}

Semantic roles & 50–950 ramp

primary
#50198B
secondary
#82BE42
accent
#EC3B97
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #50198B

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

Preview Lab → · Contrast checker → · Palette generator →

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