#50207D#50207D

#50207D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.149 H 303.3°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#50207D
RGBrgb(80, 32, 125)
HSLhsl(271, 59%, 31%)
HSVhsv(271, 74%, 49%)
CMYKcmyk(36%, 74.4%, 0%, 51%)
CIE-LABlab(24.38, 40.64, -43.71)
CIE-LCHlch(24.38, 59.68, 312.91°)
OKLaboklab(36.62% 0.0816 -0.1245)
OKLCHoklch(36.62% 0.149 303.3)
XYZxyz(7.5256, 4.2192, 19.8160)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50207D #4D7D20
analogous
#21207D #50207D #7D207B
triadic
#50207D #7D5020 #207D50
tetradic
#50207D #7D2120 #4D7D20 #207B7D
square
#50207D #7D2120 #4D7D20 #207B7D
split-complementary
#50207D #7B7D20 #207D21
monochromatic
#12071C #31144C #50207D #6F2CAE #8E47D0

Accessibility & contrast

On white

11.39
#50207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50207D
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50207D#FFFFFF#000000##FFFFFF
##50207D1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#47364C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #50207d;
/* rgb */ color: rgb(80, 32, 125);
/* oklch */ color: oklch(36.6% 0.149 303.3);
Tailwind
colors: {
  custom: {
    50: '#8660a3',
    500: '#50207d',
    950: '#000000',
  },
}
SCSS
$custom: #50207d;
$custom-light: #8660a3;
$custom-dark: #000000;
JSON
{
  "hex": "#50207d",
  "rgb": {
    "r": 80,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 270.968,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36624,
    "c": 0.14884,
    "h": 303.3
  },
  "luminance": 0.04219
}

Semantic roles & 50–950 ramp

primary
#50207D
secondary
#7BB049
accent
#E24591
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #50207D

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

Preview Lab → · Contrast checker → · Palette generator →

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