#50147F#50147F

#50147F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.6% C 0.164 H 304.2°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#50147F
RGBrgb(80, 20, 127)
HSLhsl(274, 73%, 29%)
HSVhsv(274, 84%, 50%)
CMYKcmyk(37%, 84.3%, 0%, 50.2%)
CIE-LABlab(22.79, 46.21, -47.58)
CIE-LCHlch(22.79, 66.33, 314.16°)
OKLaboklab(35.56% 0.0921 -0.1357)
OKLCHoklch(35.56% 0.164 304.2)
XYZxyz(7.3883, 3.7381, 20.4069)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50147F #437F14
analogous
#1B147F #50147F #7F1479
triadic
#50147F #7F5014 #147F50
tetradic
#50147F #7F1B14 #437F14 #14797F
square
#50147F #7F1B14 #437F14 #14797F
split-complementary
#50147F #797F14 #147F1B
monochromatic
#11041A #2F0C4A #50147F #711CB4 #912FDE

Accessibility & contrast

On white

12.02
#50147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#50147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50147F
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50147F#FFFFFF#000000##FFFFFF
##50147F1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#47324B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #50147f;
/* rgb */ color: rgb(80, 20, 127);
/* oklch */ color: oklch(35.6% 0.164 304.2);
Tailwind
colors: {
  custom: {
    50: '#865ba5',
    500: '#50147f',
    950: '#000000',
  },
}
SCSS
$custom: #50147f;
$custom-light: #865ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#50147f",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 273.645,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35556,
    "c": 0.16402,
    "h": 304.2
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#50147F
secondary
#70B43B
accent
#EF3889
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #50147F

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

Preview Lab → · Contrast checker → · Palette generator →

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