#501575#501575

#501575 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.153 H 308.0°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#501575
RGBrgb(80, 21, 117)
HSLhsl(277, 70%, 27%)
HSVhsv(277, 82%, 46%)
CMYKcmyk(31.6%, 82.1%, 0%, 54.1%)
CIE-LABlab(22.04, 43.47, -42.42)
CIE-LCHlch(22.04, 60.74, 315.70°)
OKLaboklab(34.76% 0.0942 -0.1206)
OKLCHoklch(34.76% 0.153 308)
XYZxyz(6.7866, 3.5263, 17.1493)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501575 #3A7515
analogous
#201575 #501575 #75156A
triadic
#501575 #755015 #157550
tetradic
#501575 #752015 #3A7515 #156A75
square
#501575 #752015 #3A7515 #156A75
split-complementary
#501575 #6A7515 #157520
monochromatic
#12051A #2D0C41 #501575 #731EA9 #962BD9

Accessibility & contrast

On white

12.32
#501575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501575
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501575#FFFFFF#000000##FFFFFF
##5015751.0012.321.7112.32
#FFFFFF12.321.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#4A2E45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #501575;
/* rgb */ color: rgb(80, 21, 117);
/* oklch */ color: oklch(34.8% 0.153 308.0);
Tailwind
colors: {
  custom: {
    50: '#855a9d',
    500: '#501575',
    950: '#000000',
  },
}
SCSS
$custom: #501575;
$custom-light: #855a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#501575",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 276.875,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34764,
    "c": 0.153,
    "h": 308
  },
  "luminance": 0.03526
}

Semantic roles & 50–950 ramp

primary
#501575
secondary
#66AB3B
accent
#EC3B80
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #501575

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

Preview Lab → · Contrast checker → · Palette generator →

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