#501574#501574

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

Color values

HEX#501574
RGBrgb(80, 21, 116)
HSLhsl(277, 69%, 27%)
HSVhsv(277, 82%, 45%)
CMYKcmyk(31%, 81.9%, 0%, 54.5%)
CIE-LABlab(21.95, 43.24, -41.92)
CIE-LCHlch(21.95, 60.22, 315.89°)
OKLaboklab(34.68% 0.0944 -0.1191)
OKLCHoklch(34.68% 0.152 308.4)
XYZxyz(6.7282, 3.5029, 16.8413)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501574 #397415
analogous
#211574 #501574 #741569
triadic
#501574 #745015 #157450
tetradic
#501574 #742115 #397415 #156974
square
#501574 #742115 #397415 #156974
split-complementary
#501574 #697415 #157421
monochromatic
#12051A #2C0C40 #501574 #741EA8 #972BD9

Accessibility & contrast

On white

12.35
#501574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501574
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501574#FFFFFF#000000##FFFFFF
##5015741.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#003572
Tritanopia (blue-blind)
#4A2D44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #501574;
/* rgb */ color: rgb(80, 21, 116);
/* oklch */ color: oklch(34.7% 0.152 308.4);
Tailwind
colors: {
  custom: {
    50: '#855a9d',
    500: '#501574',
    950: '#000000',
  },
}
SCSS
$custom: #501574;
$custom-light: #855a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#501574",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 277.263,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34679,
    "c": 0.15198,
    "h": 308.4
  },
  "luminance": 0.03503
}

Semantic roles & 50–950 ramp

primary
#501574
secondary
#65AA3B
accent
#EC3C7F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #501574

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

Preview Lab → · Contrast checker → · Palette generator →

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