#501072#501072

#501072 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.155 H 309.8°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#501072
RGBrgb(80, 16, 114)
HSLhsl(279, 75%, 25%)
HSVhsv(279, 86%, 45%)
CMYKcmyk(29.8%, 86%, 0%, 55.3%)
CIE-LABlab(21.17, 44.55, -41.90)
CIE-LCHlch(21.17, 61.16, 316.76°)
OKLaboklab(34.08% 0.0991 -0.119)
OKLCHoklch(34.08% 0.155 309.8)
XYZxyz(6.5302, 3.2911, 16.2076)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501072 #327210
analogous
#1F1072 #501072 #721063
triadic
#501072 #725010 #107250
tetradic
#501072 #721F10 #327210 #106372
square
#501072 #721F10 #327210 #106372
split-complementary
#501072 #637210 #10721F
monochromatic
#13041B #2A083C #501072 #7618A8 #9B1FDD

Accessibility & contrast

On white

12.66
#501072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#501072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501072
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501072#FFFFFF#000000##FFFFFF
##5010721.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#4B2A42
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #501072;
/* rgb */ color: rgb(80, 16, 114);
/* oklch */ color: oklch(34.1% 0.155 309.8);
Tailwind
colors: {
  custom: {
    50: '#85589b',
    500: '#501072',
    950: '#000000',
  },
}
SCSS
$custom: #501072;
$custom-light: #85589b;
$custom-dark: #000000;
JSON
{
  "hex": "#501072",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 114
  },
  "hsl": {
    "h": 279.184,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34081,
    "c": 0.15484,
    "h": 309.8
  },
  "luminance": 0.03291
}

Semantic roles & 50–950 ramp

primary
#501072
secondary
#5DA934
accent
#F23677
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #501072

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

Preview Lab → · Contrast checker → · Palette generator →

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