#500F76#500F76

#500F76 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.160 H 308.2°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#500F76
RGBrgb(80, 15, 118)
HSLhsl(278, 77%, 26%)
HSVhsv(278, 87%, 46%)
CMYKcmyk(32.2%, 87.3%, 0%, 53.7%)
CIE-LABlab(21.41, 45.78, -44.08)
CIE-LCHlch(21.41, 63.55, 316.08°)
OKLaboklab(34.36% 0.0986 -0.1254)
OKLCHoklch(34.36% 0.16 308.2)
XYZxyz(6.7484, 3.3552, 17.4281)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#500F76 #35760F
analogous
#1C0F76 #500F76 #760F68
triadic
#500F76 #76500F #0F7650
tetradic
#500F76 #761C0F #35760F #0F6876
square
#500F76 #761C0F #35760F #0F6876
split-complementary
#500F76 #68760F #0F761C
monochromatic
#12031B #2B0840 #500F76 #7516AC #9A1DE2

Accessibility & contrast

On white

12.57
#500F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#500F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #500F76
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##500F76#FFFFFF#000000##FFFFFF
##500F761.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#4A2C45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #500f76;
/* rgb */ color: rgb(80, 15, 118);
/* oklch */ color: oklch(34.4% 0.160 308.2);
Tailwind
colors: {
  custom: {
    50: '#86589e',
    500: '#500f76',
    950: '#000000',
  },
}
SCSS
$custom: #500f76;
$custom-light: #86589e;
$custom-dark: #000000;
JSON
{
  "hex": "#500f76",
  "rgb": {
    "r": 80,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 277.864,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34356,
    "c": 0.15953,
    "h": 308.2
  },
  "luminance": 0.03355
}

Semantic roles & 50–950 ramp

primary
#500F76
secondary
#60AD33
accent
#F4347B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #500F76

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

Preview Lab → · Contrast checker → · Palette generator →

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