#500F7D#500F7D

#500F7D is a dark, vivid violet. Relative luminance 0.035; OKLCH L 35.0% C 0.166 H 305.4°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#500F7D
RGBrgb(80, 15, 125)
HSLhsl(275, 79%, 27%)
HSVhsv(275, 88%, 49%)
CMYKcmyk(36%, 88%, 0%, 51%)
CIE-LABlab(22.04, 47.38, -47.53)
CIE-LCHlch(22.04, 67.11, 314.91°)
OKLaboklab(34.99% 0.0963 -0.1355)
OKLCHoklch(34.99% 0.166 305.4)
XYZxyz(7.1799, 3.5278, 19.7008)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#500F7D #3C7D0F
analogous
#190F7D #500F7D #7D0F73
triadic
#500F7D #7D500F #0F7D50
tetradic
#500F7D #7D190F #3C7D0F #0F737D
square
#500F7D #7D190F #3C7D0F #0F737D
split-complementary
#500F7D #737D0F #0F7D19
monochromatic
#11031B #2D0846 #500F7D #7316B4 #9522E4

Accessibility & contrast

On white

12.31
#500F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#500F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #500F7D
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##500F7D#FFFFFF#000000##FFFFFF
##500F7D1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#472F49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #500f7d;
/* rgb */ color: rgb(80, 15, 125);
/* oklch */ color: oklch(35.0% 0.166 305.4);
Tailwind
colors: {
  custom: {
    50: '#8759a4',
    500: '#500f7d',
    950: '#000000',
  },
}
SCSS
$custom: #500f7d;
$custom-light: #8759a4;
$custom-dark: #000000;
JSON
{
  "hex": "#500f7d",
  "rgb": {
    "r": 80,
    "g": 15,
    "b": 125
  },
  "hsl": {
    "h": 275.455,
    "s": 78.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34987,
    "c": 0.16625,
    "h": 305.4
  },
  "luminance": 0.03528
}

Semantic roles & 50–950 ramp

primary
#500F7D
secondary
#68B434
accent
#F53382
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #500F7D

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

Preview Lab → · Contrast checker → · Palette generator →

#500F7D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva