#50207C#50207C

#50207C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.148 H 303.6°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#50207C
RGBrgb(80, 32, 124)
HSLhsl(271, 59%, 31%)
HSVhsv(271, 74%, 49%)
CMYKcmyk(35.5%, 74.2%, 0%, 51.4%)
CIE-LABlab(24.30, 40.38, -43.21)
CIE-LCHlch(24.30, 59.14, 313.06°)
OKLaboklab(36.54% 0.0818 -0.123)
OKLCHoklch(36.54% 0.148 303.6)
XYZxyz(7.4620, 4.1937, 19.4812)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50207C #4C7C20
analogous
#22207C #50207C #7C207A
triadic
#50207C #7C5020 #207C50
tetradic
#50207C #7C2220 #4C7C20 #207A7C
square
#50207C #7C2220 #4C7C20 #207A7C
split-complementary
#50207C #7A7C20 #207C22
monochromatic
#11071B #31134B #50207C #6F2DAD #8E47CF

Accessibility & contrast

On white

11.42
#50207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#50207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50207C
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50207C#FFFFFF#000000##FFFFFF
##50207C1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#47364C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #50207c;
/* rgb */ color: rgb(80, 32, 124);
/* oklch */ color: oklch(36.5% 0.148 303.6);
Tailwind
colors: {
  custom: {
    50: '#8560a3',
    500: '#50207c',
    950: '#000000',
  },
}
SCSS
$custom: #50207c;
$custom-light: #8560a3;
$custom-dark: #000000;
JSON
{
  "hex": "#50207c",
  "rgb": {
    "r": 80,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 271.304,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36541,
    "c": 0.14771,
    "h": 303.6
  },
  "luminance": 0.04194
}

Semantic roles & 50–950 ramp

primary
#50207C
secondary
#7AAF49
accent
#E24690
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #50207C

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

Preview Lab → · Contrast checker → · Palette generator →

#50207C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva