#501876#501876

#501876 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.151 H 307.2°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#501876
RGBrgb(80, 24, 118)
HSLhsl(276, 66%, 28%)
HSVhsv(276, 80%, 46%)
CMYKcmyk(32.2%, 79.7%, 0%, 53.7%)
CIE-LABlab(22.54, 42.51, -42.25)
CIE-LCHlch(22.54, 59.94, 315.17°)
OKLaboklab(35.14% 0.0912 -0.1201)
OKLCHoklch(35.14% 0.151 307.2)
XYZxyz(6.9042, 3.6668, 17.4801)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501876 #3E7618
analogous
#211876 #501876 #76186D
triadic
#501876 #765018 #187650
tetradic
#501876 #762118 #3E7618 #186D76
square
#501876 #762118 #3E7618 #186D76
split-complementary
#501876 #6D7618 #187621
monochromatic
#110519 #2E0E43 #501876 #7222A9 #9433D5

Accessibility & contrast

On white

12.11
#501876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#501876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501876
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501876#FFFFFF#000000##FFFFFF
##5018761.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#4A2F46
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501876;
/* rgb */ color: rgb(80, 24, 118);
/* oklch */ color: oklch(35.1% 0.151 307.2);
Tailwind
colors: {
  custom: {
    50: '#855c9e',
    500: '#501876',
    950: '#000000',
  },
}
SCSS
$custom: #501876;
$custom-light: #855c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#501876",
  "rgb": {
    "r": 80,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 275.745,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3514,
    "c": 0.1508,
    "h": 307.2
  },
  "luminance": 0.03667
}

Semantic roles & 50–950 ramp

primary
#501876
secondary
#6BAB3F
accent
#E93F84
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501876

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

Preview Lab → · Contrast checker → · Palette generator →

#501876 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva