#50147A#50147A

#50147A is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.159 H 306.1°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#50147A
RGBrgb(80, 20, 122)
HSLhsl(275, 72%, 28%)
HSVhsv(275, 84%, 48%)
CMYKcmyk(34.4%, 83.6%, 0%, 52.2%)
CIE-LABlab(22.34, 45.02, -45.13)
CIE-LCHlch(22.34, 63.75, 314.93°)
OKLaboklab(35.11% 0.0936 -0.1285)
OKLCHoklch(35.11% 0.159 306.1)
XYZxyz(7.0705, 3.6110, 18.7331)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50147A #3E7A14
analogous
#1D147A #50147A #7A1471
triadic
#50147A #7A5014 #147A50
tetradic
#50147A #7A1D14 #3E7A14 #14717A
square
#50147A #7A1D14 #3E7A14 #14717A
split-complementary
#50147A #717A14 #147A1D
monochromatic
#11041A #2E0B45 #50147A #721DAF #942CDC

Accessibility & contrast

On white

12.19
#50147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#50147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50147A
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50147A#FFFFFF#000000##FFFFFF
##50147A1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#003678
Tritanopia (blue-blind)
#482F48
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #50147a;
/* rgb */ color: rgb(80, 20, 122);
/* oklch */ color: oklch(35.1% 0.159 306.1);
Tailwind
colors: {
  custom: {
    50: '#865aa1',
    500: '#50147a',
    950: '#000000',
  },
}
SCSS
$custom: #50147a;
$custom-light: #865aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#50147a",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 275.294,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35109,
    "c": 0.15901,
    "h": 306.1
  },
  "luminance": 0.03611
}

Semantic roles & 50–950 ramp

primary
#50147A
secondary
#6BB03A
accent
#EF3984
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #50147A

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

Preview Lab → · Contrast checker → · Palette generator →

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