#50198D#50198D

#50198D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.174 H 298.8°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#50198D
RGBrgb(80, 25, 141)
HSLhsl(268, 70%, 33%)
HSVhsv(268, 82%, 55%)
CMYKcmyk(43.3%, 82.3%, 0%, 44.7%)
CIE-LABlab(24.71, 47.77, -53.22)
CIE-LCHlch(24.71, 71.51, 311.92°)
OKLaboklab(37.29% 0.0838 -0.1523)
OKLCHoklch(37.29% 0.174 298.8)
XYZxyz(8.4624, 4.3237, 25.5828)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50198D #568D19
analogous
#191C8D #50198D #8A198D
triadic
#50198D #8D5019 #198D50
tetradic
#50198D #8D191C #568D19 #198D8A
square
#50198D #8D191C #568D19 #198D8A
split-complementary
#50198D #8D8A19 #1C8D19
monochromatic
#150725 #331059 #50198D #6D22C1 #8C43DE

Accessibility & contrast

On white

11.26
#50198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#50198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50198D
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50198D#FFFFFF#000000##FFFFFF
##50198D1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#413A54
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #50198d;
/* rgb */ color: rgb(80, 25, 141);
/* oklch */ color: oklch(37.3% 0.174 298.8);
Tailwind
colors: {
  custom: {
    50: '#885eaf',
    500: '#50198d',
    950: '#000000',
  },
}
SCSS
$custom: #50198d;
$custom-light: #885eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#50198d",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 268.448,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3729,
    "c": 0.17383,
    "h": 298.8
  },
  "luminance": 0.04324
}

Semantic roles & 50–950 ramp

primary
#50198D
secondary
#84BF43
accent
#ED3B98
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #50198D

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

Preview Lab → · Contrast checker → · Palette generator →

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