#501773#501773

#501773 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.149 H 308.6°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#501773
RGBrgb(80, 23, 115)
HSLhsl(277, 67%, 27%)
HSVhsv(277, 80%, 45%)
CMYKcmyk(30.4%, 80%, 0%, 54.9%)
CIE-LABlab(22.15, 42.21, -40.96)
CIE-LCHlch(22.15, 58.82, 315.86°)
OKLaboklab(34.79% 0.0928 -0.1163)
OKLCHoklch(34.79% 0.149 308.6)
XYZxyz(6.7085, 3.5562, 16.5493)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501773 #3A7317
analogous
#221773 #501773 #731768
triadic
#501773 #735017 #177350
tetradic
#501773 #732217 #3A7317 #176873
square
#501773 #732217 #3A7317 #176873
split-complementary
#501773 #687317 #177322
monochromatic
#12051A #2D0D40 #501773 #7321A6 #962FD5

Accessibility & contrast

On white

12.27
#501773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#501773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501773
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501773#FFFFFF#000000##FFFFFF
##5017731.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501773;
/* rgb */ color: rgb(80, 23, 115);
/* oklch */ color: oklch(34.8% 0.149 308.6);
Tailwind
colors: {
  custom: {
    50: '#855b9c',
    500: '#501773',
    950: '#000000',
  },
}
SCSS
$custom: #501773;
$custom-light: #855b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#501773",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 277.174,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34787,
    "c": 0.14881,
    "h": 308.6
  },
  "luminance": 0.03556
}

Semantic roles & 50–950 ramp

primary
#501773
secondary
#66A93D
accent
#EA3E7F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501773

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

Preview Lab → · Contrast checker → · Palette generator →

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