#501973#501973

#501973 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.147 H 308.3°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#501973
RGBrgb(80, 25, 115)
HSLhsl(277, 64%, 27%)
HSVhsv(277, 78%, 45%)
CMYKcmyk(30.4%, 78.3%, 0%, 54.9%)
CIE-LABlab(22.44, 41.37, -40.49)
CIE-LCHlch(22.44, 57.89, 315.62°)
OKLaboklab(34.99% 0.0909 -0.1149)
OKLCHoklch(34.99% 0.147 308.3)
XYZxyz(6.7498, 3.6386, 16.5631)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501973 #3C7319
analogous
#231973 #501973 #731969
triadic
#501973 #735019 #197350
tetradic
#501973 #732319 #3C7319 #196973
square
#501973 #732319 #3C7319 #196973
split-complementary
#501973 #697319 #197323
monochromatic
#110519 #2D0E41 #501973 #7324A5 #9534D3

Accessibility & contrast

On white

12.15
#501973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501973
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501973#FFFFFF#000000##FFFFFF
##5019731.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003476
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#4A2F45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501973;
/* rgb */ color: rgb(80, 25, 115);
/* oklch */ color: oklch(35.0% 0.147 308.3);
Tailwind
colors: {
  custom: {
    50: '#855c9c',
    500: '#501973',
    950: '#000000',
  },
}
SCSS
$custom: #501973;
$custom-light: #855c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#501973",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 276.667,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34993,
    "c": 0.14652,
    "h": 308.3
  },
  "luminance": 0.03639
}

Semantic roles & 50–950 ramp

primary
#501973
secondary
#68A840
accent
#E74181
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501973

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

Preview Lab → · Contrast checker → · Palette generator →

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