#501673#501673

#501673 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.150 H 308.7°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#501673
RGBrgb(80, 22, 115)
HSLhsl(277, 68%, 27%)
HSVhsv(277, 81%, 45%)
CMYKcmyk(30.4%, 80.9%, 0%, 54.9%)
CIE-LABlab(22.01, 42.61, -41.19)
CIE-LCHlch(22.01, 59.27, 315.97°)
OKLaboklab(34.69% 0.0938 -0.117)
OKLCHoklch(34.69% 0.15 308.7)
XYZxyz(6.6890, 3.5172, 16.5428)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501673 #397316
analogous
#211673 #501673 #731668
triadic
#501673 #735016 #167350
tetradic
#501673 #732116 #397316 #166873
square
#501673 #732116 #397316 #166873
split-complementary
#501673 #687316 #167321
monochromatic
#12051A #2C0C40 #501673 #7420A6 #972DD7

Accessibility & contrast

On white

12.33
#501673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#501673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501673
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501673#FFFFFF#000000##FFFFFF
##5016731.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#4B2D44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #501673;
/* rgb */ color: rgb(80, 22, 115);
/* oklch */ color: oklch(34.7% 0.150 308.7);
Tailwind
colors: {
  custom: {
    50: '#855b9c',
    500: '#501673',
    950: '#000000',
  },
}
SCSS
$custom: #501673;
$custom-light: #855b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#501673",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 277.419,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34689,
    "c": 0.14991,
    "h": 308.7
  },
  "luminance": 0.03517
}

Semantic roles & 50–950 ramp

primary
#501673
secondary
#65A93C
accent
#EB3D7E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501673

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

Preview Lab → · Contrast checker → · Palette generator →

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