#501977#501977

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

Color values

HEX#501977
RGBrgb(80, 25, 119)
HSLhsl(275, 65%, 28%)
HSVhsv(275, 79%, 47%)
CMYKcmyk(32.8%, 79%, 0%, 53.3%)
CIE-LABlab(22.77, 42.33, -42.52)
CIE-LCHlch(22.77, 60.00, 314.87°)
OKLaboklab(35.33% 0.09 -0.1209)
OKLCHoklch(35.33% 0.151 306.7)
XYZxyz(6.9849, 3.7327, 17.8017)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501977 #407719
analogous
#211977 #501977 #77196F
triadic
#501977 #775019 #197750
tetradic
#501977 #772119 #407719 #196F77
square
#501977 #772119 #407719 #196F77
split-complementary
#501977 #6F7719 #197721
monochromatic
#110519 #2E0E44 #501977 #7224AA #9336D5

Accessibility & contrast

On white

12.02
#501977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#501977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501977
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501977#FFFFFF#000000##FFFFFF
##5019771.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357A
Deuteranopia (green-blind)
#003775
Tritanopia (blue-blind)
#493047
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501977;
/* rgb */ color: rgb(80, 25, 119);
/* oklch */ color: oklch(35.3% 0.151 306.7);
Tailwind
colors: {
  custom: {
    50: '#855c9f',
    500: '#501977',
    950: '#000000',
  },
}
SCSS
$custom: #501977;
$custom-light: #855c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#501977",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 275.106,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35328,
    "c": 0.15072,
    "h": 306.7
  },
  "luminance": 0.03733
}

Semantic roles & 50–950 ramp

primary
#501977
secondary
#6DAC40
accent
#E84086
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #501977

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

Preview Lab → · Contrast checker → · Palette generator →

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