#50147B#50147B

#50147B is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.160 H 305.7°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#50147B
RGBrgb(80, 20, 123)
HSLhsl(275, 72%, 28%)
HSVhsv(275, 84%, 48%)
CMYKcmyk(35%, 83.7%, 0%, 51.8%)
CIE-LABlab(22.43, 45.26, -45.62)
CIE-LCHlch(22.43, 64.26, 314.77°)
OKLaboklab(35.2% 0.0933 -0.13)
OKLCHoklch(35.2% 0.16 305.7)
XYZxyz(7.1328, 3.6359, 19.0611)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50147B #3F7B14
analogous
#1C147B #50147B #7B1472
triadic
#50147B #7B5014 #147B50
tetradic
#50147B #7B1C14 #3F7B14 #14727B
square
#50147B #7B1C14 #3F7B14 #14727B
split-complementary
#50147B #727B14 #147B1C
monochromatic
#11041A #2E0B46 #50147B #721DB0 #932DDD

Accessibility & contrast

On white

12.16
#50147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#50147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50147B
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50147B#FFFFFF#000000##FFFFFF
##50147B1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#483048
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #50147b;
/* rgb */ color: rgb(80, 20, 123);
/* oklch */ color: oklch(35.2% 0.160 305.7);
Tailwind
colors: {
  custom: {
    50: '#865aa2',
    500: '#50147b',
    950: '#000000',
  },
}
SCSS
$custom: #50147b;
$custom-light: #865aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#50147b",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 274.951,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35198,
    "c": 0.16001,
    "h": 305.7
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

primary
#50147B
secondary
#6CB13A
accent
#EF3985
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #50147B

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

Preview Lab → · Contrast checker → · Palette generator →

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