#501972#501972

#501972 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.145 H 308.8°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#501972
RGBrgb(80, 25, 114)
HSLhsl(277, 64%, 27%)
HSVhsv(277, 78%, 45%)
CMYKcmyk(29.8%, 78.1%, 0%, 55.3%)
CIE-LABlab(22.36, 41.13, -39.98)
CIE-LCHlch(22.36, 57.36, 315.81°)
OKLaboklab(34.91% 0.0911 -0.1134)
OKLCHoklch(34.91% 0.145 308.8)
XYZxyz(6.6925, 3.6158, 16.2617)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501972 #3B7219
analogous
#241972 #501972 #721967
triadic
#501972 #725019 #197250
tetradic
#501972 #722419 #3B7219 #196772
square
#501972 #722419 #3B7219 #196772
split-complementary
#501972 #677219 #197224
monochromatic
#120619 #2D0E40 #501972 #7324A4 #9533D2

Accessibility & contrast

On white

12.19
#501972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#501972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501972
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501972#FFFFFF#000000##FFFFFF
##5019721.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003374
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#4B2E44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #501972;
/* rgb */ color: rgb(80, 25, 114);
/* oklch */ color: oklch(34.9% 0.145 308.8);
Tailwind
colors: {
  custom: {
    50: '#855c9b',
    500: '#501972',
    950: '#000000',
  },
}
SCSS
$custom: #501972;
$custom-light: #855c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#501972",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 277.079,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34911,
    "c": 0.14547,
    "h": 308.8
  },
  "luminance": 0.03616
}

Semantic roles & 50–950 ramp

primary
#501972
secondary
#67A740
accent
#E74180
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501972

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

Preview Lab → · Contrast checker → · Palette generator →

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