#50148D#50148D

#50148D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.9% C 0.178 H 299.3°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#50148D
RGBrgb(80, 20, 141)
HSLhsl(270, 75%, 32%)
HSVhsv(270, 86%, 55%)
CMYKcmyk(43.3%, 85.8%, 0%, 44.7%)
CIE-LABlab(24.09, 49.59, -54.23)
CIE-LCHlch(24.09, 73.49, 312.44°)
OKLaboklab(36.86% 0.0873 -0.1553)
OKLCHoklch(36.86% 0.178 299.3)
XYZxyz(8.3649, 4.1288, 25.5504)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50148D #518D14
analogous
#14158D #50148D #8D148D
triadic
#50148D #8D5014 #148D50
tetradic
#50148D #8D1415 #518D14 #148D8D
square
#50148D #8D1415 #518D14 #148D8D
split-complementary
#50148D #8D8D14 #158D14
monochromatic
#130522 #320C57 #50148D #6E1CC3 #8D39E3

Accessibility & contrast

On white

11.50
#50148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#50148D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50148D
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50148D#FFFFFF#000000##FFFFFF
##50148D1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#413853
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #50148d;
/* rgb */ color: rgb(80, 20, 141);
/* oklch */ color: oklch(36.9% 0.178 299.3);
Tailwind
colors: {
  custom: {
    50: '#885baf',
    500: '#50148d',
    950: '#000000',
  },
}
SCSS
$custom: #50148d;
$custom-light: #885baf;
$custom-dark: #000000;
JSON
{
  "hex": "#50148d",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 269.752,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3686,
    "c": 0.17811,
    "h": 299.3
  },
  "luminance": 0.04129
}

Semantic roles & 50–950 ramp

primary
#50148D
secondary
#7FC13C
accent
#F23695
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #50148D

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

Preview Lab → · Contrast checker → · Palette generator →

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